[QVTo] Duplicated elements in target model [message #1077106] |
Thu, 01 August 2013 08:55 |
nicholas pacini 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 |
Ed Willink Messages: 7670 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03015 seconds