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
well got 80% of the way there :)
The below will make a list of the filename surrounded by quotes.
(havn't tried it as part of a line= constrct yet.
However I noticed a buggaboo - the only
does simple string substitution so unless you specify
${path.separator} for every in
Thanks
The files may not but the paths they are in might.
Can "pathconvert" manage to put quotes around all the entries?
(I'll have to look up what pathconvert is :)
Too bad there isn't a nested "fileset" in in an or item
to do just this since many command line utilities do it like
compile
Hi,
if your list of file is not too long, that is 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
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