Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » Batch transformation
Batch transformation [message #555174] Wed, 25 August 2010 13:14 Go to next message
Eclipse UserFriend
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 02:37 Go to previous messageGo to next message
Eclipse UserFriend
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 05:27 Go to previous messageGo to next message
Eclipse UserFriend
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 05:40 Go to previous messageGo to next message
Eclipse UserFriend
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] Fri, 27 August 2010 20:11 Go to previous messageGo to next message
Eclipse UserFriend
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: Fri, 27 August 2010 20:16] by Moderator

Re: [ATL] Re: Batch transformation [message #555860 is a reply to message #555733] Sun, 29 August 2010 13:46 Go to previous message
Eclipse UserFriend
Thanks, I think I found a way to do it.

[Updated on: Sun, 29 August 2010 13:47] by Moderator

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


Current Time: Tue Jul 22 15:21:01 EDT 2025

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

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

Back to the top