ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <>
Subject Re: fileset based on paths in file
Date Sun, 03 May 2009 03:10:56 GMT
Is this for a path or a fileset? There's a big difference. A path is
simply a collection of directories while a fileset selects files in a

If this is for a path, you could use a properties file and separate
those directories via a colon or semicolon.

If this is a fileset, you can try using the "includefile" attribute.
For example:

<fileset dir="/"

And the include file will look like this:


On Sat, May 2, 2009 at 2:46 PM, Patrik Nagel <> wrote:
> Hi,
> I would like to create a fileset based on paths which have no base directory
> in common. Additionally, the paths are stored in a text file.
> Such a text file might looks as follows:
> /home/dev/src/reporting
> /home/dev/src/common
> /home/testing/src/logger
> Is there a way to read the paths from the text file and "add" them to a
> fileset? Within this fileset I would apply a filename selector to collect
> all build.xml files. Note that the fileset is used as a child within an
> ivy:buildlist task.
> Any help would be appreciated!
> Regards,
> Patrik
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

David Weintraub

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message