https://issues.apache.org/bugzilla/show_bug.cgi?id=53949
Priority: P2
Bug ID: 53949
Assignee: [email protected]
Summary: zipfileset includes/excludes os-dependent behaviour
Severity: normal
Classification: Unclassified
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 1.8.1
Component: Core tasks
Product: Ant
When zipfileset is used with "includes"/"excludes" argument, which values
starts with "/" it's behaviour is os dependent:
-Windows (ant 1.8.1) - includes/excludes arguments are respected
-Linux (ant 1.8.4) - includes/excludes arguments are ignored (or maybe
treated as absolute path?)
ex.
<zipfileset src="apache-some.zip" includes="/org/apache/**" />
I think that the right solution is to either disallow usage of "/" as first
char on includes/excludes arguments or make it work the same on every platform.
If it's not possible this situation should at least be signaled to the user as
console warrning. Moreover documentation should mention this.
--
You are receiving this mail because:
You are the assignee for the bug.