ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Noonan <noo...@cs.wm.edu>
Subject Need to expand *.txt in java task
Date Fri, 28 Oct 2005 18:17:33 GMT
Hi,

Please forgive my stupidity, but I have spent hours on this ...

Given the following Unix/Linux command line:

         java  Test.Main  -all  *.txt

I wrote the following ant task:

         <java  classname="Test.Main">
             <arg value="-all" />
             <arg value="*.java" />
         </java>

Test.Main reports it cannot find file *.java.

So I replaced the 2nd arg with a <fileset ... />.
The ant java task reports that it does not accept <fileset>'s.

Similarly, I tried nesting a fileset within an arg.  Illegal.

I checked the O'Reilly Ant book and ant.apache.org
without finidng a solution.
I am clearly missing something.  It should not be this hard.

Thanks,
Bob

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


Mime
View raw message