ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53484] New: Property does not work in excludes for jar task
Date Fri, 29 Jun 2012 03:17:06 GMT

          Priority: P2
            Bug ID: 53484
           Summary: Property does not work in excludes for jar task
          Severity: normal
    Classification: Unclassified
          Hardware: PC
            Status: NEW
           Version: 1.8.2
         Component: Core
           Product: Ant

If i use a property as follows:

<property name="my.dir" location="example/of/directory"/>

then the following task will not exclude files mathing the pattern
<jar jarfile="${lib.dir}/${}" basedir="${build.dir}"
excludes="**/${my.dir}/**" />

but if i type in the path the files are correctly excluded
<jar jarfile="${lib.dir}/${}" basedir="${build.dir}"
excludes="**/example/of/directory/**" />

It seems like you cant use property substitution in excludes!

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

View raw message