ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 59114] Inconsistency in Copy Task with empty FileSet depending on "exclude" pattern
Date Mon, 07 Mar 2016 03:54:25 GMT

--- Comment #1 from Antoine Levy-Lambert <> ---
I just committed a testcase which illustrates the current behavior of Ant
concerning the application of the "**" and the "*" pattern to the empty path.

The logic to handle the root directory of a fileset is at this location :

My understanding is that "**" matches any length of path including file
separators, while "*" matches any length of path without the file separator.
Why "*" currently does not match the root empty directory is surprising. 

Patterns are documented here :

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

View raw message