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 2016/04/12 00:30:32 UTC

[Bug 59114] Inconsistency in Copy Task with empty FileSet depending on "exclude" pattern

https://bz.apache.org/bugzilla/show_bug.cgi?id=59114

--- Comment #4 from Antoine Levy-Lambert <an...@apache.org> ---
I meant that to fix the bug we should probably change the condition

!tokenizedPattern[i].equals(DEEP_TREE_MATCH)

to become

!( tokenizedPattern[i].equals(DEEP_TREE_MATCH) ||
tokenizedPattern[i].equals("*"))

Also there should be a constant in Ant for "*".

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