Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Extract ATL transformation (.atl) from ATL Model (.xmi) with Java
Extract ATL transformation (.atl) from ATL Model (.xmi) with Java [message #1106819] Wed, 11 September 2013 11:41
Fi Fi is currently offline Fi Fi
Messages: 129
Registered: March 2010
Senior Member
After using ANT task to extract atl transformation (.atl) from an ATL model (.xmi),
<?xml version="1.0"?>
<project name="atlcopy" default="run" basedir=".">
    <property name="out1" value="transformation.xmi"/>

    <property name="atl.launcher" value="EMF-specific VM" />

    <target name="run">
        <atl.loadModel modelHandler="EMF" name="ATL" metamodel="MOF" path="../MetaModels/ATL.ecore" />
        <atl.loadModel name="atl1" metamodel="ATL" path="${out1}"/>

        <atl.saveModel model="atl1" path="${out1}.out.atl">
             <extractor name="ATL"/>
        </atl.saveModel>
    </target>
</project>


I try now to use java to do it.
However I dont find a concrete example to use it!
DO you have any idea, please?
Best regards
Previous Topic:Parse ATL transformation with Java
Next Topic:Problem whe using "Support UML2 Stereotypes application" in the run configuration's advanc
Goto Forum:
  


Current Time: Mon Oct 07 07:18:48 EDT 2013

Powered by FUDForum. Page generated in 0.01701 seconds