How to create atl file from amw [message #469868] |
Wed, 03 June 2009 02:26  |
Eclipse User |
|
|
|
Hi
I am new to AMW.I wanted to create atl file to do xmi to xmi
transformation.
Basically i have x.ecore and y.ecore .
out put of x.ecore is x.xmi.so i want to transform x.xmi to y.xmi.
I have created a weaving wizard with has prop as
mmw_match.km3,mmw_propagation.km3,mmw_compare.km3,mw_base_ex tension.km3.
From this i am able to create a weaving model(.amw file).Now from this amw
file i want to generate an atl file .
I refer this link
http://www.eclipse.org/gmt/amw/examples/Scade/Scade_doc.php
in this the have mentioned the following
Generating and extracting the ATL transformation
------------------------------------------------------------ -------------------------
The AMW plug-in contains a higher-order transformation (HOT) that
interprets the weaving model and that produces an ATL transformation. To
execute this transformation, open the context menu of the weaving panel
(the middle panel) and select the "Transform" submenu. Then click on
"Generate transformation (HOT)". This action produces an ATL model
(ScadeCmp_cp_equal_thres_lr_hot.ecore).
The output transformation model is extracted to an ATL file by clicking in
the context menu "Extract ATL-0.2 model to ATL-0.2 file
------------------------------------------------------------ --------------------
but i'm not able to find the transform submenu .weaving panel have only
option called "Save weaving metamodel in Ecore format".even i have tried
to save in ecore format but after that how to proceed to get an atl file.
can you please help me.
thanks in advance
venky
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25613 seconds