Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » AMW » Problems with KM3 metamodel org.eclipse.gmt.tcs.injector.KM3_ANTLR3Lexer
Problems with KM3 metamodel org.eclipse.gmt.tcs.injector.KM3_ANTLR3Lexer [message #541747] Tue, 22 June 2010 12:25
Panthro  is currently offline Panthro Friend
Messages: 2
Registered: May 2010
Junior Member
Hi,
I installed an ATL+AM3+AMW version for developers including the source code.
The bundle AMMA_prototype has not the source code. I need to install the version with the source code.

Eclipse 3.4.2 and EMF 2.4.0

ATL from CVS (and ANTLR):
http://wiki.eclipse.org/ATL/How_Install_ATL_%28Dev%29_From_C VS

AM3 from SVN:
http://wiki.eclipse.org/AM3/How_Install_AM3_From_SVN

AMW from SVN:
https://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.amw

I copied the created Jar files into the eclipse plugins directory.

I start the weaver wizard and select the metamodel extension to use and I get the following error message:
"Problems with KM3 metamodel org.eclipse.gmt.tcs.injector.KM3_ANTLR3Lexer"
I have the same error if I open an amw file.
I make optional the dependency org.eclipse.gmt.am3.dsls.km3 on org.eclipse.gmt.tcs.dsls and I followed the instruccions from this post: http://www.eclipse.org/forums/index.php?t=msg&goto=48102 6&
(
- unsatisfied dependency from 'org.eclipse.gmt.am3.dsls.km3' to
'org.eclipse.gmt.tcs.dsls' : make optional this dependency (see post from
Marcos from Nov 20 2008)

- on "org.eclipse.gmt.weaver" project, add "parser_src" to the build path
(in order to avoid "KM3_ANTLR3Lexer" ClassNotFound.

- fix KM3_ANTLR3Lexer and KM3_ANTLR3Parser compile errors in replacing
usage of org.eclipse.gmt.tcs.injector.TCSRuntime with
org.eclipse.gmt.tcs.injector.TCSInjector

- in WeaverResourceUtil, line 301, set back the direct .class access :
params.put("lexerClass", KM3_ANTLR3Lexer.class);
params.put("parserClass", KM3_ANTLR3Parser.class);

)

but the error remains.

Thanks in advanced,
Best regards.

[Updated on: Wed, 23 June 2010 08:00]

Report message to a moderator

Previous Topic:HTTP Status 404" error when starting tomcat
Next Topic:"Transform Simple ATL to ATL" missing on Eclipse Bundle
Goto Forum:
  


Current Time: Thu Dec 18 11:46:43 GMT 2014

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

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