Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » AMW » Facing problems in model tranformation(New user: Facing problems in model tranformation)
Facing problems in model tranformation [message #479961] Thu, 13 August 2009 05:36 Go to next message
Vikas  is currently offline Vikas
Messages: 1
Registered: August 2009
Junior Member
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 Go to previous message
Fabien Giquel is currently offline Fabien Giquel
Messages: 136
Registered: July 2009
Senior Member
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.


----------------------------------------------------
Fabien GIQUEL
R&D Engineer
Mia-Software
4, rue du Ch√Ęteau de l'Eraudiere
44324 NANTES CEDEX 03
----------------------------------------------------
Previous Topic:Using AMW
Next Topic:Migrating AMW to use ATL 3.0 API.
Goto Forum:
  


Current Time: Sun Apr 20 09:27:06 EDT 2014

Powered by FUDForum. Page generated in 0.02021 seconds