ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: outputting a fileset as xml
Date Tue, 30 Apr 2002 10:24:27 GMT
Or write a custom task which would take about the same number of lines of
code and much more reusable and clearer.  :))

    Erik


----- Original Message -----
From: "Diane Holt" <holtdl@yahoo.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Tuesday, April 30, 2002 5:52 AM
Subject: Re: outputting a fileset as xml


> --- 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>.
>
> Diane
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
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