[TCS - Transformations Outside Eclipse ] [message #378864] |
Tue, 14 August 2007 16:45 |
Eclipse User |
|
|
|
Originally posted by: luigi.mazzucchetti.gmail.com
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03790 seconds