Empty output model with ATL+ANT and metamodel from xsd file [message #1181218] |
Mon, 11 November 2013 13:01 |
Victor Pavon Messages: 50 Registered: April 2012 Location: Spain |
Member |
|
|
Hello,
I have define a MMT with ATL. This have as input a model conforms a metamodel generated from a xsd file using EMF. If I run the transformation with Eclipse configuration it work properly. But when I try execute the transformation with an ANT task the output model is empty. I tried severals configurations:
1. Load de metamodel using its uri. The execution returns an empty model:
<atl.loadModel modelHandler="EMF" name="mmStrutsConfig" metamodel="MOF" uri="platform:/org.eclipse.modisco.struts.config/resource/StrutsConfig.xsd" />
2. Load de metamodel using its path. The execution returns with an error ([atl.loadModel] org.eclipse.m2m.atl.core.ATLCoreException: Error loading file:/C:\Users\victor\Dropbox\ECLIPSE\workspaceMoDisco10\repositorios\org.eclipse.modisco.struts.config\org.eclipse.modisco.struts.config\model\StrutsConfig13.ecore: null):
<atl.loadModel modelHandler="EMF" name="mmStrutsConfig" metamodel="MOF" path="../../org.eclipse.modisco.struts.config/org.eclipse.modisco.struts.config/model/StrutsConfig13.ecore" />
Best regards,
Víctor Pavón.
Víctor Pavón,
Research at Quercus Software Engineering Group
University of Extremadura, Spain.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04304 seconds