>
> So my problem is to
> get a space delimited list of file names and to add it to the list of
> arguments to my java command.


I had a case where I needed to run a Java program on a set of files. I used
the apply task for that, but I don't know if this matches your requirements
exactly. As far as I understood it, this will execute the a command once for
each file in the fileset. It doesnt appear that the java task takes a
fileset as an argument.

Subsidiary question :
> Is there a limit to the length of the string given as argument to a java
> command ?


Not in Java per se I think, but Windows has a limit on how long a command
line can be.
See this for ex: http://gcc.gnu.org/ml/gcc-help/2005-11/msg00254.html

Kjersti

Reply via email to