ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26814] empty includesfile in fileset includes all files in dir
Date Wed, 29 Feb 2012 19:41:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=26814

Jesse Glick <jglick@netbeans.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jglick@netbeans.org
           Severity|normal                      |minor

--- Comment #3 from Jesse Glick <jglick@netbeans.org> 2012-02-29 19:41:31 UTC ---
While a <fileset> with no <include> or 'includes' attr does include everything
not specifically excluded, it does seem weird that an explicit 'includesfile'
which happens to be empty would include anything.

The documentation for include in patternset mentions the special behavior of no
includes, but the documentation for includesfile does not say this. Since there
is a risk of backward incompatibility by changing this behavior, I would
recommend documenting it, and issuing a warning with an explanation if an empty
includesfile (attribute or nested element) is encountered.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message