ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leandro Trevisan Nunes <lnu...@trifax.com.br>
Subject multiple arguments with <arg>
Date Tue, 02 Mar 2004 18:30:14 GMT
Hi,
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">
      <classpath>
         <fileset dir="." casesensitive="yes">
           <filename name="**/*.jar"/>
         </fileset>
      </classpath>
      <arg>
          .... here I need something like a FileSet 
....                                            
      </arg>
    </java>
  </target>


oh, help me.

Thanks for the patience.

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



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


Mime
View raw message