Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » QVT to ATL
QVT to ATL [message #87291] Mon, 04 August 2008 10:39 Go to next message
Swetha is currently offline SwethaFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

I am in the process of writing ATL rules for transforming a QVT file to
ATL file.

I currently have a qvt model(.qvt) and two metmodels(.xml)

I am getting a java.lang.RuntimeException:cannot find model abc


here abc stands for the source metamodel.
I guess I am missing something.

Can anyone please help me out in this at the earliest.

Regards,
Swetha.
Re: QVT to ATL [message #87530 is a reply to message #87291] Wed, 06 August 2008 15:51 Go to previous message
William Piers is currently offline William PiersFriend
Messages: 301
Registered: July 2009
Senior Member
Hello,

To transform QVT to ATL, as for any transformation cases, you must have
(considering you use EMF):
- a QVT metamodel (with the .ecore extension, available in QVT plugins I
guess)
- an ATL metamodel, available here :
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.m2m/org .eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.dsls/resources/ ATL/Metamodel/ATL.ecore?root=Modeling_Project&view=marku p
- a QVT model. The .qvt file you mentioned will be ok only if it is a
QVT MODEL, and not a QVT FILE. In this last case you firstly must use a
parser like TCS to get a model conforming to the QVT metamodel.

Then you will be able to write and test rules between those two
technical spaces. But there is a lot of differences between them, so I
think that the transformation may be very hard to do (in any
transformation language).

Best regards,

William

Swetha a écrit :
> Hi,
>
> I am in the process of writing ATL rules for transforming a QVT file to
> ATL file.
>
> I currently have a qvt model(.qvt) and two metmodels(.xml)
>
> I am getting a java.lang.RuntimeException:cannot find model abc
>
>
> here abc stands for the source metamodel.
> I guess I am missing something.
>
> Can anyone please help me out in this at the earliest.
>
> Regards,
> Swetha.
>
>
>
Previous Topic:complete MDA example is needed
Next Topic:[ATL] UML2Copy
Goto Forum:
  


Current Time: Tue May 14 04:14:05 GMT 2024

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

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

Back to the top