Browse Source

Call project.replaceProperties(). Probably should call PropertyHelper directly,

but Grant ( and others ) may extend project and override it.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273713 13f79535-47bb-0310-9956-ffa450edef68
master
Costin Manolache 22 years ago
parent
commit
e9c9b00132
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/RuntimeConfigurable.java

+ 1
- 1
src/main/org/apache/tools/ant/RuntimeConfigurable.java View File

@@ -300,7 +300,7 @@ public class RuntimeConfigurable implements Serializable {
String value=(String) attMap.get(name);

// reflect these into the target
value = ProjectHelper.replaceProperties(p, value,p.getProperties());
value = p.replaceProperties(value);
try {
ih.setAttribute(p, target,
name.toLowerCase(Locale.US), value);


Loading…
Cancel
Save