https://issues.apache.org/bugzilla/show_bug.cgi?id=53484
Priority: P2
Bug ID: 53484
Assignee: [email protected]
Summary: Property does not work in excludes for jar task
Severity: normal
Classification: Unclassified
Reporter: [email protected]
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.