Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Start Genmodel transformation via ant
[ATL] Start Genmodel transformation via ant [message #743350] Fri, 21 October 2011 11:28
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 697
Registered: November 2009
Senior Member

I am using this ant task to run a refinement transformation on my genmodel:

<atl.loadModel name="genmodel" metamodel="MOF" nsuri=""></atl.loadModel>
<atl.loadModel name="XXXInOutModel" metamodel="genmodel" path="../"></atl.loadModel>

<atl.launch path="../" refining="true">
 <inoutmodel name="IN" model="XXXInOutModel"/>
<atl.saveModel model="XXXInOutModel" path="../"></atl.saveModel>

If I use the debug configurations to start the transformation everything works fine. As soon as I want to use the specified ANT task I do get OclUnspecifed on commands like:'name')

ecoreFeature references to the feature in the ecore model. Therefore, I think that there is a problem with inter model references when starting the transformation form ant. How can I fix this?

Thanks in advance!


[Updated on: Fri, 21 October 2011 11:29]

Report message to a moderator

Previous Topic:[ATL] How to use EMF-Specific VM with ANT task
Next Topic:[ATL] Deleting elements in refing mode
Goto Forum:

Current Time: Fri Oct 09 05:31:04 GMT 2015

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

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