probably with

pathsep="
"

if you want each file on its own line.

Daniel

Matt Benson wrote:

<pathconvert> is your friend.

-Matt

--- [EMAIL PROTECTED] wrote:



I have a need to create a text file that lists all
.gif, .jpg, etc. files.
It's simple to create a fileset that contains the
files I need but what's
the best way to output this list into a text file?

I could use <foreach> from ant-contrib but that
requires an <antcall> for
each file which is slow and tedious.  I
unfortunately can't use the newer
<for> task since it rquires Ant 1.6+ which in turn
requires Java 1.2+ but
I must remain compatible with 1.1 (doing applet
work).

I wrote my own small task to do this but I'd rather
use a 'standard'
task(s) if it's possible.  If not possible, and if
anyone is interested in
my task, <listfiles>, I'd be happy to submit it to
Ant developement.

Brian DeWeese




---------------------------------------------------------------------


To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]








__________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to