Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » ATL ant task standalone application
ATL ant task standalone application [message #989745] Fri, 07 December 2012 08:47 Go to previous message
Dario Imparato is currently offline Dario Imparato
Messages: 20
Registered: August 2012
Junior Member
Hello,
I have a problem launching ATL ant-tasks (atl.loadModel, atl.launch, atl.saveModel).
If I configure ant to use the "same JRE as the workspace" I have no problem.
If I want to launch ant script at command line, ant-tasks are not recognized.
I also tried to define the ant-tasks through "taskdef", but I have a problem in ATLCoreException not found: " A class needed by class org.eclipse.m2m.atl.core.ant.tasks.LoadModelTask cannot be found:org/eclipse/m2m/atl/core/ATLCoreException while if I launch it through Eclipse in "EMF-specific VM" mode, I have the error: "org.eclipse.m2m.atl.core.ATLCoreException: org.eclipse.m2m.atl.core.launcher EMF-specific VM not found, check the spelling or register it manually"

Here are the taskdefs:
        <taskdef name="atl.loadModel" classname="org.eclipse.m2m.atl.core.ant.tasks.LoadModelTask" >
    	<classpath refid="classpath"/> </taskdef>
        <taskdef name="atl.launch" classname="org.eclipse.m2m.atl.core.ant.tasks.ATLModelTransformationTask" >
    	<classpath refid="classpath"/> </taskdef>
        <taskdef name="atl.saveModel" classname="org.eclipse.m2m.atl.core.ant.tasks.SaveModelTask" >
    	<classpath refid="classpath"/> </taskdef>


Any suggestion?
Thanks.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:[MMT] EMFInjector to inject objects
Next Topic:resolveTemp over several associations
Goto Forum:
  


Current Time: Wed May 22 04:12:58 EDT 2013

Powered by FUDForum. Page generated in 0.01787 seconds