ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48621] New: Allow <fileset> with multiple base directories
Date Tue, 26 Jan 2010 15:34:25 GMT

           Summary: Allow <fileset> with multiple base directories
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks

The current implementations of <fileset> and <dirset> only allow for a single
base directory; I would like the ability to specify multiple base directories,
perhaps something like this:

   <basedirs refid="src" />
   <include name="*.java" />


The <javac> task allows for multiple source directories using the <src>
element; this is particularly useful for builds that generate source code.  I
can create a generic (reusable) build file for generating source from an
arbitrary number of source directories using this element.

However, dealing with multiple source directories becomes problematic in other
areas, like creating a zip file of all the sources.

I'd prefer to not have to depend on a custom task, like using antcontrib's
<for>, because the script handling this is meant to be generic; the same
argument goes against writing my own task to do this (which I've done).

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

View raw message