Browse Source

lets evaluate properties inline. Incidentally, <scriptdef> and the like Do Not do this. Too late to change now, probably.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416163 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 19 years ago
parent
commit
6fdc02e7b2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDefBase.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDefBase.java View File

@@ -46,7 +46,7 @@ public class ScriptDefBase extends Task implements DynamicConfigurator {
* control to it
*/
public void execute() {
getScript().executeScript(attributes, nestedElementMap,this);
getScript().executeScript(attributes, nestedElementMap, this);
}

private ScriptDef getScript() {
@@ -104,7 +104,7 @@ public class ScriptDefBase extends Task implements DynamicConfigurator {
* @since ant1.7
*/
public void addText(String text) {
this.text=text;
this.text=getProject().replaceProperties(text);
}

/**


Loading…
Cancel
Save