Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 08:55 Go to next message
nicholas pacini is currently offline nicholas paciniFriend
Messages: 31
Registered: December 2010
Member
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 09:50 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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 10:50 Go to previous message
nicholas pacini is currently offline nicholas paciniFriend
Messages: 31
Registered: December 2010
Member
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: Thu Apr 25 00:42:39 GMT 2024

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

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

Back to the top