DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39456>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39456 Summary: Allow <fileset> to contain nested <fileset>s Product: Ant Version: 1.6.5 Platform: PC OS/Version: Windows XP Status: NEW Severity: enhancement Priority: P3 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] It would be nice to be able to define a <fileset> as the union of other, more granular <fileset>s: <fileset id="html files" dir="${dir.output}"> <include name="**/*.html"/> </fileset> <fileset id="image files" dir="${dir.images}"> <include name="**/*.png"/> <include name="**/*.jp?g"/> </fileset> <!-- note the lack of "dir" here, because the nested filesets already have their own value for "dir", which should override anything on the parent fileset --> <fileset id="all files"> <fileset refid="html files"/> <fileset refid="image files"/> </fileset> Unfortunately, Ant doesn't appear to support any such construct. It is possible to ref a <patternset> from one <fileset> inside of another, but because <patternset> doesn't carry the "dir" attribute, this doesn't accomplish the desired result (i.e., in the new context, the <patternset> may not refer to the same set of files as in the first). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]