Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Problem with UML2MatchEngine(Looking for an "ignore XMI id" option)
Problem with UML2MatchEngine [message #824384] Mon, 19 March 2012 16:08
Alan DW is currently offline Alan DWFriend
Messages: 119
Registered: March 2012
Senior Member
Hello everyone,

we are currently working on a (research) project using EMF and UML2. We have two XMI files containing UML model data, created via MagicDraw export. We read these files, and construct their models individually. Then we use the compare functionality of EMF to create a list of DiffElements, which are then processed individually.

We are using the Match- and Diff-classes provided by UML2,

org.eclipse.emf.compare.uml2.diff.UML2DiffEngine
org.eclipse.emf.compare.uml2.match.UML2MatchEngine

instead of the default classes. Our problem is that the MagicDraw XMI exporter assigns new XMI IDs to most elements on each export, causing the DiffEngine to create loads of (for our purpose useless) DiffElements which describe nothing but the change of the XMI ID.

The original EMF MatchEngine has an option to ignore XMI IDs. Unfortunately, the UML2MatchEngine does not seem to support that feature, it just ignores that options entry.

Does anybody here have an idea how to solve this problem? Any help would be appreciated.


Greets,


Alan
Previous Topic:UML2 Product in Bugzilla
Next Topic:How to create a new DataType for EMF/Ecore in UML
Goto Forum:
  


Current Time: Thu Mar 28 16:12:38 GMT 2024

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

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

Back to the top