Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » AMW » Problem in Class2Relational example
Problem in Class2Relational example [message #469866] Tue, 19 May 2009 07:01 Go to next message
venkatesh  is currently offline venkatesh
Messages: 41
Registered: July 2009
Member
Hi ,

I am new to AMW and i am just trying the example Class2Relational example.

From Class2Relational-Trace.amw file i clicked on "save weaving model in
to ecore format" menu & i saved this as a Class2Relational-Trace.ecore.

then again Class2Relational-Trace.ecore file i clicked on "Extract
Atl0.2model-to-Atl file" menu & it's generating the Atl file but it is
empty.


I'm using eclipse 3.3 version.


i don't know in this example how they have generated
Class2Relational-ATL-0.2.atl file from Class2Relational-Trace.amw.


can anybody help me.

Thanks in Advance
viji
Re: Problem in Class2Relational example [message #469867 is a reply to message #469866] Fri, 22 May 2009 08:53 Go to previous message
Marcos Didonet Del Fabro is currently offline Marcos Didonet Del Fabro
Messages: 84
Registered: July 2009
Member
Hi,

This menu saves the weaving metamodel model into an ".ecore" file.
This is not a transformation model (in ATL), thus the "extraction into
ATL" action will fail.

Actually, the "Class2Relational-Trace.amw" is the trace generated by the
already modified transformation, "Class2Relational-WithWTracer.atl". The
generation of the trace is generated by the last action (transformation)
of the example.

You need to execute the "ATL2WTracer.atl" transformation first. This
transformation generates a "Class2Relational-WithWTracer.ecore", which is
a transformation model. This is the model that should be extracted into
ATL. The extracted ATL is used to generate the AMW trace model.


Regards,

Marcos.
Previous Topic:AMW new user
Next Topic:Stereotype tagged values mapping
Goto Forum:
  


Current Time: Sat Sep 20 08:18:14 GMT 2014

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

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