@@ -538,7 +538,7 @@ an explanation of scripts and dependencies. | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">encoding</td> | <td valign="top">encoding</td> | ||||
<td valign="top">The encoding of the script source. <em>since Ant 1.10.1.</em></td> | |||||
<td valign="top">The encoding of the script source. <em>since Ant 1.10.2.</em></td> | |||||
<td valign="top" align="center">No - defaults to default JVM encoding</td> | <td valign="top" align="center">No - defaults to default JVM encoding</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -104,7 +104,7 @@ different location values.</p> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">encoding</td> | <td valign="top">encoding</td> | ||||
<td valign="top">The encoding of the script as a file. <em>since Ant 1.10.1.</em></td> | |||||
<td valign="top">The encoding of the script as a file. <em>since Ant 1.10.2.</em></td> | |||||
<td valign="top" align="center">No - defaults to default JVM encoding</td> | <td valign="top" align="center">No - defaults to default JVM encoding</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -117,7 +117,7 @@ more information on writing scripts, please refer to the | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">encoding</td> | <td valign="top">encoding</td> | ||||
<td valign="top">The encoding of the script as a file. <em>since Ant 1.10.1.</em></td> | |||||
<td valign="top">The encoding of the script as a file. <em>since Ant 1.10.2.</em></td> | |||||
<td valign="top" align="center">No - defaults to default JVM encoding</td> | <td valign="top" align="center">No - defaults to default JVM encoding</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -126,7 +126,7 @@ more information on writing scripts, please refer to the | |||||
evaluation for faster multiple executions, on the condition that the <em>manager</em> is "javax" and the | evaluation for faster multiple executions, on the condition that the <em>manager</em> is "javax" and the | ||||
target engine implements <code>javax.script.Compilable</code>. | target engine implements <code>javax.script.Compilable</code>. | ||||
Note that the <code>bsf</code> manager may automatically compiles the script. | Note that the <code>bsf</code> manager may automatically compiles the script. | ||||
<em>since Ant 1.10.1.</em></td> | |||||
<em>since Ant 1.10.2.</em></td> | |||||
<td valign="top" align="center">No - defaults to false</td> | <td valign="top" align="center">No - defaults to false</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -1567,7 +1567,7 @@ Must be a supported Apache BSF or JSR 223 language</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">encoding</td> | <td valign="top">encoding</td> | ||||
<td valign="top">The encoding of the script as a file. <em>since Ant 1.10.1.</em></td> | |||||
<td valign="top">The encoding of the script as a file. <em>since Ant 1.10.2.</em></td> | |||||
<td valign="top" align="center">No - defaults to default JVM encoding</td> | <td valign="top" align="center">No - defaults to default JVM encoding</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -807,7 +807,7 @@ an explanation of scripts and dependencies. | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">encoding</td> | <td valign="top">encoding</td> | ||||
<td valign="top">The encoding of the script as a file. <em>since Ant 1.10.1.</em></td> | |||||
<td valign="top">The encoding of the script as a file. <em>since Ant 1.10.2.</em></td> | |||||
<td valign="top" align="center">No - defaults to default JVM encoding</td> | <td valign="top" align="center">No - defaults to default JVM encoding</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -1109,7 +1109,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">encoding</td> | <td valign="top">encoding</td> | ||||
<td valign="top">The encoding of the script as a file. <em>since Ant 1.10.1.</em></td> | |||||
<td valign="top">The encoding of the script as a file. <em>since Ant 1.10.2.</em></td> | |||||
<td valign="top" align="center">No - defaults to default JVM encoding</td> | <td valign="top" align="center">No - defaults to default JVM encoding</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -375,7 +375,7 @@ public class ScriptDef extends DefBase { | |||||
* Defines the compilation feature ; optional. | * Defines the compilation feature ; optional. | ||||
* | * | ||||
* @param compiled enables the script compilation if available. | * @param compiled enables the script compilation if available. | ||||
* @since Ant 1.10.1 | |||||
* @since Ant 1.10.2 | |||||
*/ | */ | ||||
public void setCompiled(boolean compiled) { | public void setCompiled(boolean compiled) { | ||||
helper.setCompiled(compiled); | helper.setCompiled(compiled); | ||||
@@ -394,7 +394,7 @@ public class ScriptDef extends DefBase { | |||||
* Sets the encoding of the script from an external file ; optional. | * Sets the encoding of the script from an external file ; optional. | ||||
* | * | ||||
* @param encoding the encoding of the file containing the script source. | * @param encoding the encoding of the file containing the script source. | ||||
* @since Ant 1.10.1 | |||||
* @since Ant 1.10.2 | |||||
*/ | */ | ||||
public void setEncoding(String encoding) { | public void setEncoding(String encoding) { | ||||
helper.setEncoding(encoding); | helper.setEncoding(encoding); | ||||
@@ -196,7 +196,7 @@ public abstract class ScriptRunnerBase { | |||||
/** | /** | ||||
* Whether to use script compilation if available. | * Whether to use script compilation if available. | ||||
* @since Ant 1.10.1 | |||||
* @since Ant 1.10.2 | |||||
* @param compiled if true, compile the script if possible. | * @param compiled if true, compile the script if possible. | ||||
*/ | */ | ||||
public final void setCompiled(boolean compiled) { | public final void setCompiled(boolean compiled) { | ||||
@@ -205,7 +205,7 @@ public abstract class ScriptRunnerBase { | |||||
/** | /** | ||||
* Get the compiled attribute. | * Get the compiled attribute. | ||||
* @since Ant 1.10.1 | |||||
* @since Ant 1.10.2 | |||||
* @return the attribute. | * @return the attribute. | ||||
*/ | */ | ||||
public final boolean getCompiled() { | public final boolean getCompiled() { | ||||
@@ -214,7 +214,7 @@ public abstract class ScriptRunnerBase { | |||||
/** | /** | ||||
* Set encoding of the script from an external file; optional. | * Set encoding of the script from an external file; optional. | ||||
* @since Ant 1.10.1 | |||||
* @since Ant 1.10.2 | |||||
* @param encoding encoding of the external file containing the script source. | * @param encoding encoding of the external file containing the script source. | ||||
*/ | */ | ||||
public void setEncoding(String encoding) { | public void setEncoding(String encoding) { | ||||
@@ -118,7 +118,7 @@ public class ScriptRunnerHelper { | |||||
/** | /** | ||||
* Get the external script file ; optional. | * Get the external script file ; optional. | ||||
* @return the file containing the script source. | * @return the file containing the script source. | ||||
* @since Ant 1.10.1 | |||||
* @since Ant 1.10.2 | |||||
*/ | */ | ||||
public File getSrc() { | public File getSrc() { | ||||
return srcFile; | return srcFile; | ||||
@@ -128,7 +128,7 @@ public class ScriptRunnerHelper { | |||||
* Set the encoding of the script from an external file ; optional. | * Set the encoding of the script from an external file ; optional. | ||||
* | * | ||||
* @param encoding the encoding of the file containing the script source. | * @param encoding the encoding of the file containing the script source. | ||||
* @since Ant 1.10.1 | |||||
* @since Ant 1.10.2 | |||||
*/ | */ | ||||
public void setEncoding(String encoding) { | public void setEncoding(String encoding) { | ||||
this.encoding = encoding; | this.encoding = encoding; | ||||
@@ -137,7 +137,7 @@ public class ScriptRunnerHelper { | |||||
/** | /** | ||||
* Get the external file encoding. | * Get the external file encoding. | ||||
* @return the encoding of the file containing the script source. | * @return the encoding of the file containing the script source. | ||||
* @since Ant 1.10.1 | |||||
* @since Ant 1.10.2 | |||||
*/ | */ | ||||
public String getEncoding() { | public String getEncoding() { | ||||
return encoding; | return encoding; | ||||