that's strange, must be a MagicDraw 9.5 thing (I don't have a good user experience with 9.5 so I reverted back to the 9.0)

anyway, when I select 'save project as' I have the option between XMI 1.0, 1.1 and 1.2

maybe you can try 'save as' and overwrite the existing file ?

can you let me know, because this would mean there's an issue with MD 9.5 (or at least something has changed that should be documented)

thanks

-- Wouter

Linus Kamb wrote:
Wouter,

Thanks for the quick response.

However, that is exactly what I have done.
I used maven andromdapp:generate to create the project skeleton, read in the generated .xmi file, added a single <<Entity>>class, saved, and ran maven. Same problem. :-(


I have attached the exception record.

Thanks,
Linus


Wouter Zoons wrote:

Linus Kamb wrote:

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

Reply via email to