Browse Source

seems there was a setter missing in <script>

master
Stefan Bodewig 8 years ago
parent
commit
5a0d2d1f17
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/Script.java

+ 11
- 0
src/main/org/apache/tools/ant/taskdefs/optional/Script.java View File

@@ -130,4 +130,15 @@ public class Script extends Task {
public void setSetBeans(boolean setBeans) {
helper.setSetBeans(setBeans);
}

/**
* Set the encoding of the script from an external file ; optional.
*
* @param encoding the encoding of the file containing the script source.
* @since Ant 1.10.2
*/
public void setEncoding(String encoding) {
helper.setEncoding(encoding);
}

}

Loading…
Cancel
Save