Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Batch transformation
Batch transformation [message #555174] Wed, 25 August 2010 17:14 Go to next message
HaoWu Missing name is currently offline HaoWu Missing nameFriend
Messages: 5
Registered: August 2010
Junior Member
Hi, does anyone know how to use ATL to transform a bunch of models into one target model.

Say, I have a folder called F which contains 1000 source models, and I want to transform them to one by one automatically. I have my atl module written and test it with some examples, but I don't know how to that? Do I have to invoke ATL in command line? Or is anywhere I can change the configuration file to do that?
[ATL] Re: Batch transformation [message #555264 is a reply to message #555174] Thu, 26 August 2010 06:37 Go to previous messageGo to next message
Vincent MAHE is currently offline Vincent MAHEFriend
Messages: 129
Registered: July 2009
Senior Member
Le 25/08/2010 19:14, HaoWu a écrit :
> Hi, does anyone know how to use ATL to transform a bunch of models into
> one target model.
>
> Say, I have a folder called F which contains 1000 source models, and I
> want to transform them to one by one automatically. I have my atl module
> written and test it with some examples, but I don't know how to that? Do
> I have to invoke ATL in command line? Or is anywhere I can change the
> configuration file to do that?

You can launch ATL transformations programmatically. So it would be easy
to browse your folder, catch its contents and process each found model
to an output folder.
--
Cordialement

Vincent MAHÉ

Ingénieur Expert - Projet IDM++ - Équipe AtlanMod
École des Mines de Nantes
La Chantrerie - 4, rue Alfred Kastler
B.P. 20722 - F-44307 NANTES Cedex 3
Tel: (33)2 51 85 81 00
Re: [ATL] Re: Batch transformation [message #555302 is a reply to message #555264] Thu, 26 August 2010 09:27 Go to previous messageGo to next message
HaoWu Missing name is currently offline HaoWu Missing nameFriend
Messages: 5
Registered: August 2010
Junior Member
Thank you, but how? Any documents I can read?
Re: [ATL] Re: Batch transformation [message #555328 is a reply to message #555302] Thu, 26 August 2010 09:40 Go to previous messageGo to next message
Vincent MAHE is currently offline Vincent MAHEFriend
Messages: 129
Registered: July 2009
Senior Member
Le 26/08/2010 11:27, HaoWu a écrit :
> Thank you, but how? Any documents I can read?

The main architecture:
http://wiki.eclipse.org/ATL/Developer_Guide#Core
Look at the examples of use lower in this page.
--
Cordialement

Vincent MAHÉ

Ingénieur Expert - Projet IDM++ - Équipe AtlanMod
École des Mines de Nantes
La Chantrerie - 4, rue Alfred Kastler
B.P. 20722 - F-44307 NANTES Cedex 3
Tel: (33)2 51 85 81 00
Re: [ATL] Re: Batch transformation [message #555733 is a reply to message #555328] Sat, 28 August 2010 00:11 Go to previous messageGo to next message
HaoWu Missing name is currently offline HaoWu Missing nameFriend
Messages: 5
Registered: August 2010
Junior Member
I looked the example on the website you mentioned. But what I want to do are the following three things.

1. my transformation uses EMF-VM
2. I want to launch ATL transformation in a command-line environment.
3. Also I want to collect 1000 models first and then do one transformation.

I know this should be doable, but are there any examples available I can look at?

[Updated on: Sat, 28 August 2010 00:16]

Report message to a moderator

Re: [ATL] Re: Batch transformation [message #555860 is a reply to message #555733] Sun, 29 August 2010 17:46 Go to previous message
HaoWu Missing name is currently offline HaoWu Missing nameFriend
Messages: 5
Registered: August 2010
Junior Member
Thanks, I think I found a way to do it.

[Updated on: Sun, 29 August 2010 17:47]

Report message to a moderator

Previous Topic:[QVTO] AST and Pretty Printing
Next Topic:[QVTo] Dictionary Configuration Properties
Goto Forum:
  


Current Time: Sun Nov 23 11:19:02 GMT 2014

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

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