I am just getting started with AndroMDS. I have been using MagicDraw to do my modeling, and I see that Magic Draw was listed as a preferred modelling tool, or some such, for AndroMDA. That is great.
But when I try to process my exported model, I get an exception:
[...]
Root Exception .: javax.jmi.xmi.MalformedXMIException: org.netbeans.lib.jmi.util.DebugException: Element name cannot be resolved, unknown package: Foundation.Core.ModelElement.name
javax.jmi.xmi.MalformedXMIException: org.netbeans.lib.jmi.util.DebugException: Element name cannot be resolved, unknown package: Foundation.Core.ModelElement.name
[...]
Looking around AnrdoMDA archives, I see this very problem posed in January, and the answer (by Chad Brandon, 2005-01-03) was to export the model (explicitly stating MagicDraw) using XMI 1.1 or 1.2 (see included email below.)
I have MagicDraw 9.5 professional, and the only XMI version enabled is the 1.0 version. Furthermore MagicDraw documents say 1.0 is the only version supported.
What am I missing?
hello Linus,
no need to 'export' the model from MagicDraw, just saving it will do the trick
(you can choose to save it in XML (=XMI) or in a ZIP (= zipped XMI)
good luck
-- Wouter
ps: I also recommend using the project generator (see this page: http://team.andromda.org/docs/starting.html), it will output an empty model that you can open with MagicDraw and if you just save it AndroMDA will be able to read it
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
