ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: How to list files to console or file.
Date Wed, 08 Dec 2004 19:42:50 GMT
Or ${line.separator}.

-Matt

--- Daniel Blaukopf <daniel.blaukopf@sun.com> wrote:

> probably with
> 
> pathsep="
"
> 
> if you want each file on its own line.
> 
> Daniel
> 
> Matt Benson wrote:
> 
> ><pathconvert> is your friend.
> >
> >-Matt
> >
> >--- gath29@bltbd.com 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:
> >>user-unsubscribe@ant.apache.org
> >>For additional commands, e-mail:
> >>user-help@ant.apache.org
> >>
> >>
> >>    
> >>
> >
> >
> >
> >		
> >__________________________________ 
> >Do you Yahoo!? 
> >The all-new My Yahoo! - Get yours free! 
> >http://my.yahoo.com 
> > 
> >
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> >For additional commands, e-mail:
> user-help@ant.apache.org
> >
> >  
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

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


Mime
View raw message