|
Re: QVT to ATL [message #87530 is a reply to message #87291] |
Wed, 06 August 2008 15:51 |
William Piers 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.
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02882 seconds