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.
[Updated on: Fri, 07 December 2012 08:45] by Moderator