ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53949] New: zipfileset includes/excludes os-dependent behaviour
Date Mon, 01 Oct 2012 09:12:27 GMT

          Priority: P2
            Bug ID: 53949
           Summary: zipfileset includes/excludes os-dependent behaviour
          Severity: normal
    Classification: Unclassified
          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?)

<zipfileset src="" 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.

View raw message