ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ar <>
Subject List of file names as arguments to a java task
Date Thu, 23 Feb 2006 13:54:17 GMT
Hi all,

I'd like to give to provide to my java task a list of file names. I don't
know how to do.
I tried:

        <java classname="">
              <fileset dir="${lib.dir}">
                 <include name="**/*.jar"/>
           <arg line="--myoption=value" />
           <fileset dir="${work.dir}/xml">
              <include name="**/*.xml"/>
... but it doesn't work.

The java command I want to get is :

java -cp my_classpath --myoption=value
file1.xml file2.xml file3.xml file4.xml

Any idea ?


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

View raw message