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=40259>. 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=40259 Summary: FileSet should include an attribute to specify not found behavior Product: Ant Version: 1.6.5 Platform: Other OS/Version: All Status: NEW Severity: major Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] FileSet should include an attribute to specify not found behavior. Currently, if a FileSet is created with a dir attribute that points to a non- existing dir, then ant fails. I have run into many situations in which I'd prefer ant to just return an empty FileSet. Therefore, I propose a notFound attribute for FileSet that would support at least the following two values: fail (the current behavior) empty (returns an empty FIleSet) The default can be set to fail since that would duplicate current behavior. If you are contemplating changing default behavior, I think that empty is a much better default than fail except for legacy issues. Thanks, Ross -- 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]