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?
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)