|Strategy for loading commercial UML XMI 2.1 (MaicDraw) [message #627655]
||Tue, 02 June 2009 10:45
| Dawid Loubser
Registered: July 2009
We are busy building a toolset which requires the loading of
XMI-serialised UML produced by commercial tools (for now, we are
focusing on MagicDraw UML).
We have tried (unsuccessfully) for weeks to accomplish this, and are at
our wits' end - please help!
We cannot rely on the "export to EMF" functionality which happens to be
provided by MagicDraw, as we need to support other tools in future, and
are ultimately not in control of the files - we just want to access and
transform the UML model elements in them.
Of course, we need to develop this in a stand-alone fashion, but even
so, the XMI file does not load in Eclipse via the EMF GUI tools either.
I get anything from a "missing packages" error, to an "OutOfMemoryError"
which brings down eclipse, or my stand-alone test program.
Here is a standard XMI file containing two or so classes, can any expert
here point us in the right direction to get this loaded? We are
absolutely desperate at this stage, nothing we have tried seems to work.
If we can load this file, we will be very happy:
P.S. I am aware that there are a couple of dubious elements in this XMI
file placed there by MagicDraw, but I would still expect EMF/UML2 to
ignore elements it does not understand, not to wait 2 minutes and then
fail with OutOfMemoryError. This is a tiny model, and I am running a VM
which has 2GB of allocated memory.
If there is a problem with this XMI file (produced by one fo the leading
modeling tools as-is) any pointers as to the specific pre-processing we
need to perform would be greatly appreciated.
Powered by FUDForum
. Page generated in 0.01516 seconds