Skip to main content



      Home
Home » Archived » GMT (Generative Modeling Technologies) » [AM3] Wrinting UML models with ANT plugin
[AM3] Wrinting UML models with ANT plugin [message #384820] Thu, 21 August 2008 08:26 Go to next message
Eclipse UserFriend
Hello,

I am using the AM3 ANT plugin to save a UML model (using the am3.saveModel
Task). The UML model contains some classes with stereotypes applied. In
another target I load this model and start an ATL-transformation, which
uses this model as an inputmodel. In this transformation the applied
stereotypes are not recognized. If I start the transformation over an
Eclipse run-configuration everything works fine.
I looked in the generated .uml files and found that AM3 uses paths for
references in the UML-model, whereas ATL uses xmi:id attributes and
references the ids. It seems that references via path are not working for
applied stereotypes. And there is another downside of the paths: When
using model elements with names that contain spaces, the paths cannot be
dereferenced.
Is there a workaround, like an extractor for the am3.saveModel task that
can save the UML model with xmi:id attributes and references?

BTW: I am using Eclipse Ganymede with AM3 from the CVS (downloaded
yesterday).

Greetings,
Max
Re: [AM3] Writing UML models with ANT plugin [message #384902 is a reply to message #384820] Mon, 25 August 2008 09:45 Go to previous message
Eclipse UserFriend
Hello,

I don't know why, but the stereotypes are recognized now.
But I have still problems with spaces in names of model-elements. It would
help me a lot if somebody had a solution for that!

With kind regards,
Max
Re: [AM3] Writing UML models with ANT plugin [message #620049 is a reply to message #384820] Mon, 25 August 2008 09:45 Go to previous message
Eclipse UserFriend
Hello,

I don't know why, but the stereotypes are recognized now.
But I have still problems with spaces in names of model-elements. It would
help me a lot if somebody had a solution for that!

With kind regards,
Max
Previous Topic:[xtext] Error in the generated PartitionScanner
Next Topic:[MOFScript] Ecore2<<Something>> elaborate example
Goto Forum:
  


Current Time: Sun Mar 16 19:30:31 EDT 2025

Powered by FUDForum. Page generated in 0.03052 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top