You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2014/01/02 07:30:33 UTC

[Bug 54077] Filename Selector does not apply when used more than once, where include does

https://issues.apache.org/bugzilla/show_bug.cgi?id=54077

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
You must wrap the <filename> selectors inside an <or> container.  fileset forms
an implicit <and> for your selectors and the file obviously doesn't match both
selectors at the same time.

The manual says "If any of the selectors within the FileSet do not select the
file, the file is not considered part of the FileSet." which is what happens in
your testcase.

-- 
You are receiving this mail because:
You are the assignee for the bug.