Skip to main content



      Home
Home » Modeling » Model-to-Model Transformation » [QVTo] Duplicated elements in target model
[QVTo] Duplicated elements in target model [message #1077106] Thu, 01 August 2013 04:55 Go to next message
Eclipse UserFriend
Hi all,

i'm currently developing two separate, but similar, transformations.
they both have the same kind of declaration:

transformation one(in a: A, inout uml: UML);

transformation two(in b: B, inout uml: UML);


in target (inout) uml model i need to update two different packages with elements corresponding to the ones in a and b.

my problem comes if i run the transformations more than once
Each execution of transformation "one", beyond the first, updates the elements in the "uml" target model (and this is the desired behavior)
Instead, each execution of transformation "two", beyond the first, creates new elements. This is NOT the desired behavior.

I'm asking for support because i don't know what could be wrong. The the two transformation run in the same environment with similar run configuration.

Have you any idea on where could be the problem?

Sorry for the long post, thanks in advance

Regards,
Nicholas
Re: [QVTo] Duplicated elements in target model [message #1077148 is a reply to message #1077106] Thu, 01 August 2013 05:50 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Please use the QVTo newsgroup/forum for QVTo discussion.

You haven't provided nearly enough information, since from what you
describe one/two should be identical and therefore interchangeable, but
you say they are not. So there is obviously something that you're not
telling us and it is pointless guessing at the innumerable things you
could be doing to make your programs different.

Regards

Ed Willink


On 01/08/2013 09:55, nicholas pacini wrote:
> Hi all,
>
> i'm currently developing two separate, but similar, transformations.
> they both have the same kind of declaration:
>
> transformation one(in a: A, inout uml: UML);
>
> transformation two(in b: B, inout uml: UML);
>
> in target (inout) uml model i need to update two different packages
> with elements corresponding to the ones in a and b.
>
> my problem comes if i run the transformations more than once
> Each execution of transformation "one", beyond the first, updates the
> elements in the "uml" target model (and this is the desired behavior)
> Instead, each execution of transformation "two", beyond the first,
> creates new elements. This is NOT the desired behavior.
>
> I'm asking for support because i don't know what could be wrong. The
> the two transformation run in the same environment with similar run
> configuration.
>
> Have you any idea on where could be the problem?
>
> Sorry for the long post, thanks in advance
>
> Regards,
> Nicholas
Re: [QVTo] Duplicated elements in target model [message #1077189 is a reply to message #1077106] Thu, 01 August 2013 06:50 Go to previous message
Eclipse UserFriend
Hello Ed,

I think I've found what caused the problem and i'm working on it.

Of course I will use the correct forum for further discussions.

Thanks for your time,
Nicholas
Previous Topic:Create UML Diagrams from other UML Diagrams
Next Topic:Any API for implementing M2M transformation in Java?
Goto Forum:
  


Current Time: Sun May 25 02:02:51 EDT 2025

Powered by FUDForum. Page generated in 0.05884 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top