DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5035>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5035 Patternset and fileset enhancements Summary: Patternset and fileset enhancements Product: Ant Version: 1.4.1 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Can filesets and patternsets be enhanced as follows? 1. Lazy evaluation of fileset's dir attribute. Don't check for directory existence until the fileset is referenced within a task. This allows tasks to create directories, then use filesets that refer to those directories without ant errors on loading the buildfile. 2. Evaluation of a fileset's content eaqh time the fileset is referenced: so <include name="*.jar"/> could evaluate to a different set of files each time (and hit the filesystem). 3. Allow nested patternsets, including references to other patternsets. The result should be a the union of every filename - no filename would appear twice (and the list would only be evaluated when the referring fileset was evaluated). 4. Allow nested filesets, each with their own directory - the root fileset element would either have a dir attribute that would act as the root directory for enclosed filesets if their dir element was relative, of if the root fileset had no dir element, each nested fileset would have to have a dir element: <fileset> <fileset dir="bin"> <!-- dir is relative to current directory --> ... </fileset> <fileset> <!-- error! no dir, and root fileset has no dir --> ... </fileset> <fileset dir="/usr/bin"> <!-- dir is absolute: /usr/bin --> ... </fileset> </fileset> ... but... <fileset dir="/usr"> <fileset dir="bin"> <!-- dir is relative to /usr, i.e. /usr/bin --> ... </fileset> <fileset> <!-- Ok. dir is "/usr" --> ... </fileset> <fileset dir="/usr/bin"> <!-- dir is absolute: /usr/bin --> ... </fileset> </fileset> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
