Browse Source

merge bug fix from 1.5 branch.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273189 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 23 years ago
parent
commit
5e67dc2a68
2 changed files with 4 additions and 1 deletions
  1. +2
    -0
      WHATSNEW
  2. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/Property.java

+ 2
- 0
WHATSNEW View File

@@ -23,6 +23,8 @@ Fixed bugs:

* If a task got redefined via <taskdef>, it lost its child elements.

* <property>'s classpathref attribute was broken.

Other changes:
--------------



+ 2
- 1
src/main/org/apache/tools/ant/taskdefs/Property.java View File

@@ -282,8 +282,9 @@ public class Property extends Task {
}

/**
* the classpath to use when lookingup a resource,
* the classpath to use when looking up a resource,
* given as reference to a &lt;path&gt; defined elsewhere
*/
public void setClasspathRef(Reference r) {
createClasspath().setRefid(r);
}


Loading…
Cancel
Save