Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [TCS - Transformations Outside Eclipse ]
[TCS - Transformations Outside Eclipse ] [message #606588] Tue, 14 August 2007 12:45
Luigi is currently offline Luigi
Messages: 10
Registered: November 2009
Location: Italy
Junior Member
Hi.
I'm trying to execute 2 TCS transformations, 1 text2model and 1 model2text,
that works inside eclipse, using command line (I'm on linux).
I receive these errors when launching ant command:
- for text2model: java.lang.IllegalStateException: Workspace is closed.
during evaluation of buildxml block:
<am3.loadModel modelHandler="EMF" name="M" metamodel="MM" path="${MUri}">
<injector name="ebnf">
<param name="name" value="${classNamePrefix}"/>
<classpath>
<pathelement location="${EBNFInjectorUri}" />
</classpath>
</injector>
</am3.loadModel>
- for model2text: org.eclipse.core.runtime.AssertionFailedException:
assertion failed: The application has not been initialized.
during evaluation of buildxml block:
<am3.saveModel model="M" path="${MUri}.adb">
<extractor name="ebnf">
<param name="format" value="MM.tcs"/>
<param name="indentString" value=" "/>
<param name="serializeComments" value="false"/>
</extractor>
</am3.saveModel>
Anyone know what is wrong? Have I to post my transformations related files?

Thanks in advance.
Luigi
Previous Topic:[MOFScript] Multiple nsURIs in metamodel breaks things?
Next Topic:[MOFScript] Inconsistent handling of subpackages
Goto Forum:
  


Current Time: Mon Apr 21 03:10:39 EDT 2014

Powered by FUDForum. Page generated in 0.03821 seconds