Actually even slicker:

    <path id="path.id">
        <fileset dir="..."/>
    </path>

    <property name="string.path" refid="path.id"/>

Voila!

    Erik


----- Original Message -----
From: "Paul Cody" <[EMAIL PROTECTED]>
To: "'Ant Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 04, 2002 4:23 PM
Subject: RE: Convert a FileSet to a list of files?


> See ant builtin <pathconvert>.
>
> Paul
>
> > -----Original Message-----
> > From: Mark Womack [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, March 04, 2002 1:26 PM
> > To: Ant-User (E-mail)
> > Subject: Convert a FileSet to a list of files?
> >
> >
> > Is there a way to convert a FileSet to a space delimited
> > string that is the
> > list of files matched for the file set?  We are using the
> > java task and need
> > to provide a list of files for an argument.  It would be
> > great if we could
> > use a FileSet to determine the list of files.
> >
> > Thanks,
> > -Mark
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to