[ATL] problem using injectors in atl.loadModel [message #524519] |
Thu, 01 April 2010 08:59 |
Marten Sijtema Messages: 67 Registered: November 2009 |
Member |
|
|
Is there a way to use the ebnf injector generated by TCS, like it was possible in ATL 2.x? In ATL 3.x it does not seem to work, but is there a workaround?
I ask this because I have a TCS-generated extractor and injector that I would like to use.
Using ATL 3.x I get the following error:
BUILD FAILED
/Users/marten/Work/EclipseWorkspaces/ecore2gwt/run/m2m-with-fatl.ant:107: Unable to load extractor ebnf
Hopefully there are some work-arounds to this, as this is the final piece of my puzzle.
My company: Sytematic, building business software from models.
|
|
|
|
|
|
Re: [ATL] problem using injectors in atl.loadModel [message #524537 is a reply to message #524519] |
Thu, 01 April 2010 10:21 |
Marten Sijtema Messages: 67 Registered: November 2009 |
Member |
|
|
alright, that works, as in, it tries to inject.
But now my problem remains: what should the ant-code be for using my TCS generated injector/extractor (i got a FeatureATL-parser.jar which is generated, is this sufficient?)
Is this still possible? Do you know if the generated parser uses the ATL plugin? Or is it a stand-alone, self-contained package?
I would like that something like this would work:
<!-- Loading FeatureATL model -->
<atl.loadModel modelHandler="EMF" name="fatlModel-loaded" metamodel="fatl" path="${fatlModel}">
<injector name="ATL">
<param name="name" value="FeatureATL"/>
<!--<param name="parserGenerator" value="antlr3"/>-->
<classpath>
<pathelement location="featureATL-parser.jar"/>
</classpath>
</injector>
</atl.loadModel>
ps; fatl metamodel is an extension of the normal ATL metamodel, and with TCS I developed an extended concrete syntax..
My company: Sytematic, building business software from models.
[Updated on: Thu, 01 April 2010 10:22] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03399 seconds