Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » AM3 » I need AM3 plugin compatible with Galilo modeling Eclipse,
I need AM3 plugin compatible with Galilo modeling Eclipse, [message #579644] Tue, 27 April 2010 18:46 Go to next message
wafaa is currently offline wafaa
Messages: 163
Registered: January 2010
Location: Egypt
Senior Member
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 #579673 is a reply to message #579644] Wed, 28 April 2010 04:31 Go to previous messageGo to next message
Guillaume Doux is currently offline Guillaume Doux
Messages: 56
Registered: July 2009
Member
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
Re: I need AM3 plugin compatible with Galilo modeling Eclipse, [message #579689 is a reply to message #579673] Wed, 28 April 2010 10:58 Go to previous message
wafaa is currently offline wafaa
Messages: 163
Registered: January 2010
Location: Egypt
Senior Member
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
Previous Topic:I need AM3 plugin compatible with Galilo modeling Eclipse,
Next Topic:[AM3] Cannot install AM3 for ATL3 plugins correctly
Goto Forum:
  


Current Time: Fri Jul 25 21:14:18 EDT 2014

Powered by FUDForum. Page generated in 0.01859 seconds