diff --git a/src/main/org/apache/tools/ant/RuntimeConfigurable.java b/src/main/org/apache/tools/ant/RuntimeConfigurable.java index 90847c92e..d3a203a7a 100644 --- a/src/main/org/apache/tools/ant/RuntimeConfigurable.java +++ b/src/main/org/apache/tools/ant/RuntimeConfigurable.java @@ -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);