ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48621] Allow <fileset> with multiple base directories
Date Wed, 27 Jan 2010 05:21:28 GMT

Stefan Bodewig <> changed:

           What    |Removed                     |Added
            Version|unspecified                 |1.8Alpha (nightly)
   Target Milestone|---                         |1.8.1
           Severity|normal                      |enhancement

--- Comment #3 from Stefan Bodewig <> 2010-01-26 21:21:23 UTC ---
I understand - you are correct if the list of basedirs is not known there is no
built-in way to do that.

You may get there using a <for> loop creating a fileset, echoing the included
filenames to a file using pathconvert and echo and finally use a filelist
reading the written file, but this is clumsy.

Extending <fileset> won't work since most tasks that work on fileset expect it
to have a single base directory (they invoke getBasedir and getIncludedFiles
and build up File instances).

What we can do is to write a resource collection that behaves like a union of
filesets that share the same include/exclude patterns with basedirs taken from
another resource collection.  It shouldn't be too hard to do, but we are too
close to the 1.8.0 release to throw it in right now.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message