ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53949] New: zipfileset includes/excludes os-dependent behaviour
Date Mon, 01 Oct 2012 09:12:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53949

          Priority: P2
            Bug ID: 53949
          Assignee: notifications@ant.apache.org
           Summary: zipfileset includes/excludes os-dependent behaviour
          Severity: normal
    Classification: Unclassified
          Reporter: jacek.wisniewski.max@gmail.com
          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.

Mime
View raw message