https://issues.apache.org/bugzilla/show_bug.cgi?id=48621
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
AssignedTo: [email protected]
ReportedBy: [email protected]
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:
<fileset>
<basedirs refid="src" />
<include name="*.java" />
</fileset>
Rationale:
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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.