Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Transformation in xmi format?
[ATL] Transformation in xmi format? [message #88424] Sat, 16 August 2008 19:02 Go to next message
Eclipse UserFriend
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 #88459 is a reply to message #88424] Sun, 17 August 2008 12:44 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: [ATL] Transformation in xmi format? [message #88778 is a reply to message #88459] Fri, 22 August 2008 09:52 Go to previous messageGo to next message
Eclipse UserFriend
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 #89275 is a reply to message #88778] Thu, 28 August 2008 18:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi Dennis,
Thanks for the answer. Yes, this build.xml looks nice and easy to
follow. My problem is that I'm not able to make the am3.loadModel to
work. I've the Problem: failed to create task or type am3.loadModel
error from ANT. I tried to get the org.eclipse.gmt.am3.tools.ant package
in a jar format to add it to my eclipse installed pluggins but with no
success! Do you have any idea were can I get the pluggins needed to make
this working?

Thanks very much in advance for your time,

Regards,

Luis
Re: [ATL] Transformation in xmi format? [message #89367 is a reply to message #89275] Fri, 29 August 2008 07:24 Go to previous messageGo to next message
Eclipse UserFriend
Make sure, in launch configuration, that you choose "run in same JRE".


Regards,
Alfons

"Luis Pedro" <luis.pedro@cui.unige.ch> schreef in bericht
news:g979ug$arq$1@build.eclipse.org...
>
> Hi Dennis,
> Thanks for the answer. Yes, this build.xml looks nice and easy to
> follow. My problem is that I'm not able to make the am3.loadModel to work.
> I've the Problem: failed to create task or type am3.loadModel
> error from ANT. I tried to get the org.eclipse.gmt.am3.tools.ant package
> in a jar format to add it to my eclipse installed pluggins but with no
> success! Do you have any idea were can I get the pluggins needed to make
> this working?
>
> Thanks very much in advance for your time,
>
> Regards,
>
> Luis
Re: [ATL] Transformation in xmi format? [message #89382 is a reply to message #89367] Fri, 29 August 2008 09:30 Go to previous messageGo to next message
Eclipse UserFriend
>>
>> 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
Re: [ATL] Transformation in xmi format? [message #89427 is a reply to message #89382] Sat, 30 August 2008 16:15 Go to previous message
Eclipse UserFriend
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
Previous Topic:[ATL] Problems to migrate to Ganymede
Next Topic:[ATL] EMF Resource
Goto Forum:
  


Current Time: Sun May 11 06:36:55 EDT 2025

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

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

Back to the top