Skip to main content



      Home
Home » Archived » AMW » Problem in Class2Relational example
Problem in Class2Relational example [message #469866] Tue, 19 May 2009 03:01 Go to next message
Eclipse UserFriend
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 04:53 Go to previous message
Eclipse UserFriend
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: Wed Mar 19 22:15:28 EDT 2025

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

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

Back to the top