Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [TCS] Last version of TCS injector from CVS
[TCS] Last version of TCS injector from CVS [message #613161] Wed, 13 February 2008 10:02
Guillaume Savaton is currently offline Guillaume Savaton
Messages: 19
Registered: July 2009
Junior Member
Hi,

I am trying to reinstall ATL, TCS, etc from the available CVS sources.

I am experiencing some problems when trying to rebuild a (previously
working) TCS language project using AMMACore and AMMAScripts.
The build process fails when injecting the generated megamodel file (.mgm)

Here is the error message :

java.lang.NoSuchMethodError:
org.eclipse.gmt.tcs.injector.TCSInjector.createEnumLiteral(L java/lang/String;)Ljava/lang/Object;
at
org.eclipse.gmt.tcs.injector.AM3_ANTLR3Parser.locationType(A M3_ANTLR3Parser.java:635)
etc.

After exploring the differences between my previous setup and the new
plugin sources from the CVS repository, I have seen that changes have
occurred in TCSInjector.java : method createEnumLiteral() now returns an
Object instead of an ASMEnumLiteral.

I guess that my problem comes from the fact that the plugin
org.eclipse.m2m.atl.engine provides the previous version of class
TCSInjector (in lib/org.eclipse.gmt.tcs.injector_1.0.0.jar) while the AM3
parser uses the new version.

So, if my guess is correct, this message is a reminder that new JAR files
should be commited in org.eclipse.m2m.atl.engine/lib.

Thanks, and best regards,

Guillaume
Previous Topic:[TCS] TCS License
Next Topic:[TCS] Last version of TCS injector from CVS
Goto Forum:
  


Current Time: Wed Jul 23 14:10:59 EDT 2014

Powered by FUDForum. Page generated in 0.01426 seconds