Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » "Unable to load extractor atl" error message
"Unable to load extractor atl" error message [message #508572] Tue, 19 January 2010 13:29 Go to next message
Dennis Hendriks is currently offline Dennis HendriksFriend
Messages: 66
Registered: January 2010
Location: Eindhoven, The Netherland...
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

Re: "Unable to load extractor atl" error message [message #508646 is a reply to message #508572] Tue, 19 January 2010 17:31 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
<extractor name="ATL"/> should work Wink
Re: "Unable to load extractor atl" error message [message #508747 is a reply to message #508646] Wed, 20 January 2010 07:05 Go to previous message
Dennis Hendriks is currently offline Dennis HendriksFriend
Messages: 66
Registered: January 2010
Location: Eindhoven, The Netherland...
Member
Thanks, it worked. I'll update the ATL User Guide.
Previous Topic:ATL
Next Topic:ATL
Goto Forum:
  


Current Time: Mon Aug 19 03:42:24 GMT 2019

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

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

Back to the top