Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » Changes in UML Model
Changes in UML Model [message #1057966] Fri, 10 May 2013 04:09 Go to next message
Goood Guy is currently offline Goood Guy
Messages: 126
Registered: September 2011
Senior Member
Hi,

I've created an Ecore model that contains a class "Room" and "MyRoom". When I compare them, it is correctly recognized, that the names have changed.

The same does not work for UML models. If I compare them, it is recognized, that "Room" has been removed, and "MyRoom" has been added (also when I remove the ids from the UML files).

What is the reason for that behavior? Is this a bug? Can I do something about it?
Re: Changes in UML Model [message #1058227 is a reply to message #1057966] Mon, 13 May 2013 05:33 Go to previous message
Goood Guy is currently offline Goood Guy
Messages: 126
Registered: September 2011
Senior Member
I found out that you cannot delete the xmids from the file: they are restored internally during loading.

You can exclude the comparison of the IDs from the preferences page (window > preferences > EMF compare):
* ignore functional ID for model comparison (a functional ID is an EAttribute in the meta model, where the id flag is set to true)
* ignore XMI ID for model comparison (universal unique id from xmi resources)
Previous Topic:[EMFCompare] Diff: Deleted attribute from a class
Next Topic:Workspace Setup EMF Compare
Goto Forum:
  


Current Time: Wed Jul 30 17:20:06 EDT 2014

Powered by FUDForum. Page generated in 1.52260 seconds