Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Model-to-Model Transformation » Ant ATL tasks command line execution
Ant ATL tasks command line execution [message #989323] Wed, 05 December 2012 16:15
Dario Imparato is currently offline Dario ImparatoFriend
Messages: 20
Registered: August 2012
Junior Member
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?

[Updated on: Fri, 07 December 2012 13:45]

Report message to a moderator

Previous Topic:[ATL]different transformed results between ATL configuration and Java programming transformation
Next Topic:New QVT mailing lists
Goto Forum:

Current Time: Sun Jul 21 17:04:45 GMT 2024

Powered by FUDForum. Page generated in 0.05221 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top