ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leandro Trevisan Nunes <>
Subject multiple arguments with <arg>
Date Tue, 02 Mar 2004 18:30:14 GMT
there is any way to assign a FileSet as line argument for the <java> task?

My script will run a java app that takes several itens as line arguments 
(a file list),
like the following: [eu@lince]$ java  MyApp file1.dat file2.dat 
file3.dat .... fileN.dat

So I'm using the <java> task to run the app, but the <arg> do not allow 
the use of a FileSet.
It only allows parameters such as line, value, path, file, etc wich 
doesn't fit to my needs.

A piece of my code follows:

 <target name="make">
    <java classname="MyApp">
         <fileset dir="." casesensitive="yes">
           <filename name="**/*.jar"/>
          .... here I need something like a FileSet 

oh, help me.

Thanks for the patience.

- - - - - - - - - - - -
Leandro Trevisan Nunes
Engenharia de Sotware
Trifax Tecnologia LTDA
(41) 3022-2600

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message