[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmt.amw] Re: [ATL] Get model's name
|
Hi Benjamin,
The paths to access to the woven models are not directly stored into the
weaving model (".amw" file). They are stored into a separated XML
document (".amw.prop" file) which also contains additional information
such as the extensions of the core weaving metamodel which are used.
So basically your ATL transformation will takes as input the 2 woven
models and will generates as output the weaving model + the XML model
corresponding to the ".amw.prop" XML file.
About the problem of directly getting the path of an input model in an
ATL transformation, it is not realizable with the current version of ATL.
A solution is to add a parameter model (e.g. an XML model), which will
contain the missing information (i.e. the paths of the models), as an
additional input of your transformation.
I also forward this post to the AMW newsgroup as your problem also is
indirectly related to AMW.
Best regards,
Hugo
Benjamin CHEVALLEREAU a écrit :
Hi,
I try to get a weaving model from 2 input models with an ATL
transformation. I need to fill (in the weaving model) the path to access
to models. Is it possible to get it in the ATL transformation ?
Thanks
--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@xxxxxxxxxxxxxx
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------