|Problem with UML2MatchEngine [message #824384]
||Mon, 19 March 2012 16:08
| Alan DW
Registered: March 2012
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,
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.
Powered by FUDForum
. Page generated in 0.02541 seconds