ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [12/12] ant git commit: seems there was a setter missing in <script>
Date Mon, 20 Feb 2017 16:59:02 GMT
seems there was a setter missing in <script>


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/5a0d2d1f
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/5a0d2d1f
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/5a0d2d1f

Branch: refs/heads/master
Commit: 5a0d2d1f174f6ddef40ebab925b4aeb02646adab
Parents: 13c6aaa
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Mon Feb 20 17:58:25 2017 +0100
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Mon Feb 20 17:58:25 2017 +0100

----------------------------------------------------------------------
 .../org/apache/tools/ant/taskdefs/optional/Script.java   | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/5a0d2d1f/src/main/org/apache/tools/ant/taskdefs/optional/Script.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/Script.java b/src/main/org/apache/tools/ant/taskdefs/optional/Script.java
index 2b8d9f6..de6bf5a 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/Script.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/Script.java
@@ -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);
+    }
+
 }


Mime
View raw message