Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] lauching ATL automaticaly
[ATL] lauching ATL automaticaly [message #7768] Mon, 15 January 2007 10:18 Go to next message
Eclipse UserFriend
Originally posted by: beaufreton.gmail.com

Hello,

Is there any docs wich explain how to make a complete ATL transformation
programmatically ?
I've already read the thread "[ATL] Loading metamodel by uri
programmatically".

I have files writen in language and I want to transform them into an other
language.
I got .km3 files (from the source and the destination language) and the
atl file from others people (working on the project before me). I
compiled all in an ATL project and it worked well : I got the .asm file. I
could also generate the two .ecore files
Now I want to perfom files transformation from an other project.

I took the CVS and try to use the "KM3Projector" project : it shows the
transformation from a file written in KM3 language to a file written in
ecore language.

Thanks,
Jean-Baptiste
Re: [ATL] lauching ATL automaticaly [message #7810 is a reply to message #7768] Mon, 15 January 2007 13:46 Go to previous messageGo to next message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hello,

There is an HOWTO entry about launching ATL transformations
programmatically:
http://wiki.eclipse.org/index.php/ATL_Howtos#How_do_I_launch _transformations_programmatically.3F

The KM3Projector class is indeed an example of what you want to achieve.


Another possibility would be to use ant tasks instead of Java code:
http://wiki.eclipse.org/index.php/AM3_Ant_Tasks


Regards,

Frédéric Jouault


Jean-Baptiste Beaufreton wrote:
> Hello,
>
> Is there any docs wich explain how to make a complete ATL transformation
> programmatically ?
> I've already read the thread "[ATL] Loading metamodel by uri
> programmatically".
>
> I have files writen in language and I want to transform them into an
> other language.
> I got .km3 files (from the source and the destination language) and the
> atl file from others people (working on the project before me). I
> compiled all in an ATL project and it worked well : I got the .asm file.
> I could also generate the two .ecore files
> Now I want to perfom files transformation from an other project.
>
> I took the CVS and try to use the "KM3Projector" project : it shows the
> transformation from a file written in KM3 language to a file written in
> ecore language.
>
> Thanks,
> Jean-Baptiste
>
Re: [ATL] lauching ATL automaticaly [message #7913 is a reply to message #7810] Tue, 16 January 2007 08:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: beaufreton.gmail.com

Hello,

Thanks for references.

Can we have access to archives of yahoo groups "atl_discussion" ?
Here is the error message I got "Sorry, this group is available to members
ONLY."

Thanks,
Jean-Baptiste
Re: [ATL] lauching ATL automaticaly [message #9151 is a reply to message #7913] Thu, 18 January 2007 14:21 Go to previous message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hello,

The archives of atl_discussion are now publicly available from
http://www.sciences.univ-nantes.fr/lina/atl/www/atl_discussi on_archive/


Regards,

Frédéric Jouault


Jean-Baptiste Beaufreton wrote:
> Hello,
>
> Thanks for references.
>
> Can we have access to archives of yahoo groups "atl_discussion" ?
> Here is the error message I got "Sorry, this group is available to
> members ONLY."
>
> Thanks,
> Jean-Baptiste
>
Previous Topic:Other M2M Components
Next Topic:[ATL] Problems with Contexts and ATL 2006
Goto Forum:
  


Current Time: Thu Apr 25 21:13:28 GMT 2024

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

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

Back to the top