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"
In libraries dir I have put atlAntTasks.jar that contains org.eclipse.m2m.atl.core.ant.tasks.LoadModelTask.class
and org.eclipse.m2m.atl.core_3.3.1.v201209061455.jar that contains: