ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu Champlon <m.champ...@free.fr>
Subject Re: Passing command line arguments to the "run" target??
Date Sat, 26 Aug 2006 14:19:43 GMT
johann.petrak@gmail.com a écrit :
> (...)
> I would like to run the program from within an ant task so that I can 
> make
> use of how ant can collect the classpath etc., but I would like to 
> pass such
> command line parameters on the program being called in the run task.
> (...)
How do you run the program ? Don't you use the <java> task ?
It accepts nested <arg> parameters for what you are looking for.

http://ant.apache.org/manual/CoreTasks/java.html

MAT.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message