Hi,
I am using this ant task to run a refinement transformation on my genmodel:
<atl.loadModel name="genmodel" metamodel="MOF" nsuri="http://www.eclipse.org/emf/2002/GenModel"></atl.loadModel>
<atl.loadModel name="XXXInOutModel" metamodel="genmodel" path="../xxx.xxx/model/xxx.genmodel"></atl.loadModel>
<atl.launch path="../xxx.xxx/transformation/GenmodelRefinement.atl" refining="true">
<inoutmodel name="IN" model="XXXInOutModel"/>
</atl.launch>
<atl.saveModel model="XXXInOutModel" path="../xxx.xxx/model/xxx.genmodel"></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:
self.ecoreFeature.name.debug('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!
Ralph
[Updated on: Fri, 21 October 2011 11:29]
Report message to a moderator