ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Kost <s.k...@webmacher.de>
Subject Re: outputting a fileset as xml
Date Mon, 06 May 2002 08:38:25 GMT
Hi Diane,
> --- Stefan Kost <s.kost@webmacher.de> wrote:
> > I've search the web, the mailing lists and even asked friends - but no
> > answer has been found.
> > I need a fileset as xml :
> > <files>
> >   <file>path-to-file-1</file>
> >   <file>path-to-file-2</file>
> >   <file>path-to-file-3</file>
> >   ...
> > </files>
> 
> Use <fileset> to get the set of files, <pathconvert> it to a list, then
> either use <foreach> to <echo> the text and files out to a file (if you
> can go with Ant1.5[soon to go beta]), or for-loop through them in a
> <script>.
I waited for ant-1.5b1 but miss the foreach. At least there is no
documentation for it. I check the binary-jar to see if the is a class,
named like this and there ins't one.
Can you enlighten me on this ?

Stefan
-- 

 < W E B M A C H E R > 
EDV+INTERNETSERVICE GMBH

POST: August Bebel Str. 69
      04275 Leipzig

FON:  +49 341 30 34 833
FAX:  +49 341 30 34 840
WEB:  www.webmacher.de


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


Mime
View raw message