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
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): VS

AM3 from SVN:

AMW from SVN:

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: 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

- 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 Oct 08 18:09:33 GMT 2015

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

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