[ATL] Transformation in xmi format? [message #88424] |
Sat, 16 August 2008 19:02  |
Eclipse User |
|
|
|
Hi,
Is there any way of serializing an ATL transformation in xmi format
respecting the ATL .ecore metamodel?
If not, is there any way of, via any API, to access ATL
transformation in order to be able to parse it?
Thanks very much in advance,
Regards,
Luis Pedro
|
|
|
|
Re: [ATL] Transformation in xmi format? [message #88778 is a reply to message #88459] |
Fri, 22 August 2008 09:52   |
Eclipse User |
|
|
|
Alfons Laarman wrote:
> Hi Luis,
>
> You can use TCS injection for this.
> Here is a tutorial: http://wiki.eclipse.org/TCS/TCS_Toolkit_Tutorial
> The ATL km3 and tcs are available on the atl CVS under dsls
>
>
> Regards,
>
> Alfons
>
>
> "Luis Pedro" <luis.pedro@cui.unige.ch> schreef in bericht
> news:g87maj$6br$1@build.eclipse.org...
>> Hi,
>> Is there any way of serializing an ATL transformation in xmi format
>> respecting the ATL .ecore metamodel?
>> If not, is there any way of, via any API, to access ATL transformation
>> in order to be able to parse it?
>>
>> Thanks very much in advance,
>>
>> Regards,
>>
>> Luis Pedro
There is already an injector available for ATL, which can be accessed
using AM3 Ant scripts. The following example Eclipse project reads two
ATL transformations and creates one new ATL transformation:
http://ssel.vub.ac.be/viewvc/atl-superimposition-semantics/
The build.xml script in this project gives you a good idea of how to
load ATL modules as models. You can then save them to another file
and/or use them in a transformation.
The TCS stuff in the build.xml file is used to convert ATL-as-models
back to ATL text format.
Regards,
--
Dennis
|
|
|
|
|
|
Re: [ATL] Transformation in xmi format? [message #89427 is a reply to message #89382] |
Sat, 30 August 2008 16:15  |
Eclipse User |
|
|
|
Depends on the ATL version you installed, but you could try to compile the
latest from CVS. dev.eclipse.org. in /cvsroot/technology
Regards,
Alfons
"Luis Pedro" <luis.pedro@cui.unige.ch> schreef in bericht
news:g98tm0$lv7$1@build.eclipse.org...
>
>>>
>>> Thanks very much in advance for your time,
>
> That's what I'm doing. But I think I need to go and download the
> org.eclipse.gmt.am3.tools.ant package but I don't know where from.
>
> Regards
>
> Luis
|
|
|
Powered by
FUDForum. Page generated in 0.03300 seconds