Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsMagicdraw EMF UML2 export
https://www.eclipse.org/forums/index.php/mv/msg/473343/1037970/#msg_1037970
We use Magicdraw 17.0.1 and export our model in "EMF UML v3.x". Then, we load the "*.uml" files in Eclipse to transform the model and generate code.
It works fine with Eclipse 3.7 and MDT UML2 3.0.0.
With Eclipse 3.8 and MDT UML2 4.0.0 all the comments (instance from uml::Comment) are lost because Magicdraw writes them as XML attributes (body="my comment body") and Eclipse 3.8 needs them as XML elements (<body>my comment body</body>) whereas Eclipse 3.7 can read both.
What can we do ?
Thanks for help.
]]>Benoit Lelandais2013-04-10T08:33:46-00:00Re: Magicdraw EMF UML2 export
https://www.eclipse.org/forums/index.php/mv/msg/473343/1038171/#msg_1038171
representative sample?
Kenn
On 13-04-10 4:33 AM, Benoit Mising name wrote:
> Hi,
>
> We use Magicdraw 17.0.1 and export our model in "EMF UML v3.x". Then, we
> load the "*.uml" files in Eclipse to transform the model and generate code.
>
> It works fine with Eclipse 3.7 and MDT UML2 3.0.0.
>
> With Eclipse 3.8 and MDT UML2 4.0.0 all the comments (instance from
> uml::Comment) are lost because Magicdraw writes them as XML attributes
> (body="my comment body") and Eclipse 3.8 needs them as XML elements
> (<body>my comment body</body>) whereas Eclipse 3.7 can read both.
>
> What can we do ?
> Thanks for help.
>]]>Kenn Hussey2013-04-10T13:50:27-00:00Re: Magicdraw EMF UML2 export
https://www.eclipse.org/forums/index.php/mv/msg/473343/1038219/#msg_1038219
Bug 405374.
Thanks for your answer.
]]>Benoit Lelandais2013-04-10T15:12:05-00:00Re: Magicdraw EMF UML2 export
https://www.eclipse.org/forums/index.php/mv/msg/473343/1038407/#msg_1038407
If you're using legacy formats you should use 4.0.2 rather than 4.0.0.
Probably won't help with the comment problem but it may avoid other
known issues.
Regards
Ed Willink
On 10/04/2013 09:33, Benoit Mising name wrote:
> Hi,
>
> We use Magicdraw 17.0.1 and export our model in "EMF UML v3.x". Then,
> we load the "*.uml" files in Eclipse to transform the model and
> generate code.
>
> It works fine with Eclipse 3.7 and MDT UML2 3.0.0.
>
> With Eclipse 3.8 and MDT UML2 4.0.0 all the comments (instance from
> uml::Comment) are lost because Magicdraw writes them as XML attributes
> (body="my comment body") and Eclipse 3.8 needs them as XML elements
> (<body>my comment body</body>) whereas Eclipse 3.7 can read both.
>
> What can we do ?
> Thanks for help.
>]]>Ed Willink2013-04-10T20:46:10-00:00Re: Magicdraw EMF UML2 export
https://www.eclipse.org/forums/index.php/mv/msg/473343/1038851/#msg_1038851
It works fine. Perfect.
Thanks a lot.]]>Benoit Lelandais2013-04-11T12:28:22-00:00