Facing problems in model tranformation [message #479961] |
Thu, 13 August 2009 05:36  |
Eclipse User |
|
|
|
Hello,
I am totally new to model transformations. I want to implement the tranformation and model weaving using the eclipse IDE. Fortunately, I found a usecase on eclipse website which resembles my requirements of transforming from RDBMS to XML. This usecase is:
http://www.eclipse.org/gmt/amw/usecases/RDBMSXML/
But unfortunately even after trying for long time I am unable to install the eclipse and the required plugins to see the same UI as shown in the usecase or as described on the webpage http://wiki.eclipse.org/index.php/AMW. I have followed the instructions on the eclipse website to install the following:
1. Eclipse 3.4.2 (Eclipse Ganymede)
2. EMF 2.4.0
3. UML2 2.2
4. ATL dev 2_1_0
5. AM3 dev
6. mwplugins-20061208.zip
Also followed the instructions on the webpage:
http://www.eclipse.org/gmt/amw/download/
First of all, I am getting an error:
Bundle 'org.eclipse.gmt.tcs.dsls' cannot be resolved - MANIFEST.MF - org.eclipse.gmt.am3.dsls.km3/META-INF - line 14 Plug-in Problem
I am unable to get rid of this error. And also I can niether see the perspective Model weaver nor perspective AM3 as described in many of the examples.
Can anybody please help?? I will be highly obliged.
Thanks and regards,
Vikas
|
|
|
Re: Facing problems in model tranformation [message #481026 is a reply to message #479961] |
Wed, 19 August 2009 07:27  |
Eclipse User |
|
|
|
hello,
here is a way (but not the official and the more simple one) i found to
have the configuration working without 'org.eclipse.gmt.tcs.dsls'
(a more simple way would be to retrieve 'org.eclipse.gmt.tcs.dsls' or
equivalent).
- 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);
(dynamic access failed in ClassNotFound without 'org.eclipse.gmt.tcs.dsls'
installed)
Fabien.
|
|
|
Powered by
FUDForum. Page generated in 0.03727 seconds