Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare] Move of an element
[EMF Compare] Move of an element [message #621596] Wed, 18 November 2009 11:06
Andreas Scharf is currently offline Andreas ScharfFriend
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
Previous Topic:[Acceleo] Arguments list in Generator-API
Next Topic:[EMF Compare] Move of an element
Goto Forum:
  


Current Time: Wed Jun 16 02:31:52 GMT 2021

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

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

Back to the top