[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmt] [AM3] Wrinting UML models with ANT plugin

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