"Unable to load extractor atl" error message [message #508572] |
Tue, 19 January 2010 13:29 |
Dennis Hendriks Messages: 74 Registered: January 2010 Location: The Netherlands |
Member |
|
|
I have this ANT build script:
<?xml version="1.0"?>
<project name="atlcopy" default="run" basedir=".">
<property name="in1" value="../model/test.atl"/>
<property name="out1" value="../model/test.xmi"/>
<property name="atl.launcher" value="EMF-specific VM" />
<target name="run">
<atl.loadModel modelHandler="EMF" name="ATL" metamodel="MOF" path="../../../metamodels/atl/model/ATL.ecore" />
<atl.loadModel name="atl1" metamodel="ATL" path="${in1}">
<injector name="ATL" />
</atl.loadModel>
<atl.saveModel model="atl1" path="${out1}"/>
<atl.saveModel model="atl1" path="${in1}.out.atl">
<extractor name="atl"/>
</atl.saveModel>
</target>
</project>
that I'm trying to use to read an ATL text file into an XMI instance (using the ATL injector), and then write that XMI instance back to disk using the ATL extractor. This is a test to see if I can get the injector/extractor to work. When I run this ANT build script (from Eclipse), I do get the test.xmi file on disk. However, after that I get the following error on my console:
[atl.saveModel] Saving model atl1 to XXX/model/test.atl.out.atl
BUILD FAILED
XXX/build.xml:14: Unable to load extractor atl
Does anyone know how to get the extractor to work? Any help would be greatly appreciated.
Dennis
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01906 seconds