Re: Multiple files to task

2007-01-20 Thread Peter Kennard
OK - convoluted nastiness but it works to make a quoted space delimited list of file names. The two "commands" below are needed to translate all the '/' to ${file.separator} s in the original property which are coded with '/' separators. and expand it to the full path so it will compare charac

Re: Multiple files to task

2007-01-19 Thread Peter Kennard
e of your files contain spaces in their names or directories, you can use pathconvert to generate a property from a fileset. Then you can pass this property with Regards, Antoine On Jan 19, 2007, at 4:54 PM, Peter Kennard wrote: I want to pass in a "list" of files as the last ar

Re: Multiple files to task

2007-01-19 Thread Peter Kennard
s if you are not going to overflow the maximum for command lines (4096 chars under Windows I think), and if none of your files contain spaces in their names or directories, you can use pathconvert to generate a property from a fileset. Then you can pass this property with Regards, Antoine On Jan 1

Multiple files to task

2007-01-19 Thread Peter Kennard
I want to pass in a "list" of files as the last arguments to a java utility. Can this be done with the task? Any hints on how I might go about it? Traversing the apache docs, I couldn't find how to do what I would think is one of the first things people would need. From the command line