ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53484] New: Property does not work in excludes for jar task
Date Fri, 29 Jun 2012 03:17:06 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53484

          Priority: P2
            Bug ID: 53484
          Assignee: notifications@ant.apache.org
           Summary: Property does not work in excludes for jar task
          Severity: normal
    Classification: Unclassified
          Reporter: temilmg@gmail.com
          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}/${jar.name}" basedir="${build.dir}"
excludes="**/${my.dir}/**" />

but if i type in the path the files are correctly excluded
<jar jarfile="${lib.dir}/${jar.name}" 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.

Mime
View raw message