Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [TCS - Transformations Outside Eclipse ]
[TCS - Transformations Outside Eclipse ] [message #606588] Tue, 14 August 2007 16:45
Luigi is currently offline LuigiFriend
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: Thu Apr 25 05:46:27 GMT 2024

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

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

Back to the top