[EMF Compare] Move of an element [message #621596] |
Wed, 18 November 2009 11:06 |
Andreas Scharf Messages: 20 Registered: September 2010 |
Junior Member |
|
|
Hi,
I have a question concerning the comparison between UML files. I have
the following example models:
ModelA
|- Foo
|- +someAttribute:Integer
ModelB
|- Foo
|- Bar
|- +someAttribute:Integer
The scenario was as follows: I created a new class in ModelB 'Bar' and
moved the attribute 'someAttribute:Integer' from 'Foo' to 'Bar'.
What I was expecting is the ADDITION of 'BAR' and a 'MOVE' of
'someAttribute:Integer' from 'Foo' to 'Bar' but what I get is: ADDITION
of 'BAR' and DELETE of 'someAttribute:Integer'.
I ensured that the XMI IDs are the same and the OPTION_IGNORE_XMI_ID is
turned off to give the match engine the chance to do the match.
Am I doing anything wrong or is this behavior a bug?
Kind regards,
Andreas
|
|
|
Powered by
FUDForum. Page generated in 0.02843 seconds