Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Pass a parameters in atl command lines
Pass a parameters in atl command lines [message #23951] Fri, 16 March 2007 17:39 Go to next message
Eclipse UserFriend
Originally posted by: yassin_chkouri.yahoo.fr

Hello,
I made a program in ATL which makes the fusion of the components, and
which takes in parameter the names of the components merged. I run the ATL
Transformation from the command line as an own application outside
Eclipse. I'm using the ATL Command-Line done by Dennis
( http://ssel.vub.ac.be/viewcvs/viewcvs.py/UML1CaseStudies/uml 1cs-atlcommandline/src/org/atl/commandline/Main.java?view=ma rkup)

starting from the class 'luncher' used in "Main", this class with
parameter: “trans”, “libs”, “models” and "params". I want to know how I
can used this “params”? how I will make to call this “params” in my
program ATL?

thank you in advance

Yassin
Re: Pass a parameters in atl command lines [message #25212 is a reply to message #23951] Fri, 23 March 2007 22:02 Go to previous message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hello,

The *params* argument to the launcher is not for end-users.

The recommended way to pass parameters to transformations is to put them
in an additional source model.
See:
http://wiki.eclipse.org/index.php/ATL_Howtos#How_do_I_launch _transformations_programmatically.3F
for more details and an example.


Regards,

Frédéric Jouault

yassin wrote:
> Hello,
> I made a program in ATL which makes the fusion of the components, and
> which takes in parameter the names of the components merged. I run the
> ATL Transformation from the command line as an own application outside
> Eclipse. I'm using the ATL Command-Line done by Dennis
> ( http://ssel.vub.ac.be/viewcvs/viewcvs.py/UML1CaseStudies/uml 1cs-atlcommandline/src/org/atl/commandline/Main.java?view=ma rkup)
>
> starting from the class 'luncher' used in "Main", this class with
> parameter: ?trans?, ?libs?, ?models? and "params". I want to know how I
> can used this ?params?? how I will make to call this ?params? in my
> program ATL?
>
> thank you in advance
>
> Yassin
>
Previous Topic:[ATL] sequence & collect
Next Topic:What is the meaning of "mapsTo"?
Goto Forum:
  


Current Time: Thu Mar 28 20:06:15 GMT 2024

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

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

Back to the top