I need AM3 plugin compatible with Galilo modeling Eclipse, [message #579644] |
Tue, 27 April 2010 18:46  |
Eclipse User |
|
|
|
Hi all
I need to run an ANT file and it requires the AM3 as following
Quote:
> <project name="UML2OWL" default="transfo">
>
> <!-- Change this value if you want to use another input model -->
> <property name="model" value="Museum"/>
>
> <target name="transfo" depends="loadModels">
>
> <am3.loadModel name="umlModel" metamodel="UML" path="/UML2OWL/Samples/UMLModels/${model}.uml"/>
>
> <am3.atl path="/UML2OWL/UML2OWL.asm">
> <inModel name="IN" model="umlModel"/>
> <inModel name="UML" model="UML"/>
> <inModel name="OWL" model="OWL"/>
> <outModel name="OUT" model="owlModel" metamodel="OWL"/>
> </am3.atl>
>
> <am3.saveModel model="owlModel" path="/UML2OWL/Samples/OWLModels/${model}-OWL.ecore"/>
>
> <am3.atl path="/UML2OWL/OWL/XmlSyntax/OWL2XML.asm">
> <inModel name="IN" model="owlModel"/>
> <inModel name="OWL" model="OWL"/>
> <inModel name="XML" model="XML"/>
> <outModel name="OUT" model="xmlModel" metamodel="XML"/>
> </am3.atl>
>
> <am3.saveModel model="xmlModel" path="/UML2OWL/Samples/OWLFiles/${model}.owl">
> <extractor name="xml"/>
> </am3.saveModel>
> </target>
>
> <target name="loadModels">
> <!-- Load UML 2.0 metamodel-->
> <am3.loadModel modelHandler="EMF" name="UML" metamodel="MOF" nsuri="http://www.eclipse.org/uml2/2.0.0/UML"/>
> <!-- Load OWL metamodel-->
> <am3.loadModel modelHandler="EMF" name="OWL" metamodel="MOF" path="/UML2OWL/OWL/OWL.ecore"/>
> <!-- Load XML metamodel-->
> <am3.loadModel modelHandler="EMF" name="XML" metamodel="MOF" path="/UML2OWL/AMMACore/XML.ecore"/>
> </target>
> </project>
It is the example of UML2OWl, how can i run the ant file and if I need the AM3 as mentioned how could I get it as a compatible with my eclipse Galileo Version
please I need it very soon
thanks for who read and HELP
wafaa
|
|
|
|
Re: I need AM3 plugin compatible with Galilo modeling Eclipse, [message #579689 is a reply to message #579673] |
Wed, 28 April 2010 10:58  |
Eclipse User |
|
|
|
Guillaume Doux wrote on Wed, 28 April 2010 04:31
> Hello Wafaa,
>
> The ANT task you use are now deprecated and will not work with Eclipse galileo and ATL 3.0. These ANT tasks work until ATL 2.
>
> You should now use the new ANT task that have been designed for ATL 3. You can look at the online documentation ( http://wiki.eclipse.org/ATL/User_Guide_-_The_ATL_Tools#ATL_a nt_tasks).
>
> Hope it helps.
>
> Best regards,
>
> Guillaume Doux
Thank you very much Guillaume for ur reply, but what is the new version where i can find it? :twisted: and if it was via CVS please direct me to the steps of downloading it and insalling them, about the tutorial I read it actually i do not want to write one, i want to run it so should I have the Tomcat installed on my PC,
Repeating my thanks :p
|
|
|
Powered by
FUDForum. Page generated in 0.46133 seconds