ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59114] Inconsistency in Copy Task with empty FileSet depending on "exclude" pattern
Date Mon, 11 Apr 2016 22:30:32 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59114

--- Comment #4 from Antoine Levy-Lambert <antoine@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.

Mime
View raw message