@@ -14,20 +14,18 @@ | |||||
See the License for the specific language governing permissions and | See the License for the specific language governing permissions and | ||||
limitations under the License. | limitations under the License. | ||||
--> | --> | ||||
<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en"> | |||||
<html> | <html> | ||||
<head> | <head> | ||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |||||
<meta http-equiv="Content-Language" content="en-us"> | <meta http-equiv="Content-Language" content="en-us"> | ||||
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"> | <link rel="stylesheet" type="text/css" href="../stylesheets/style.css"> | ||||
<title>Apache AntWork Plugin for the Jext Java Text Editor</title> | <title>Apache AntWork Plugin for the Jext Java Text Editor</title> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<h1>AntWork Plugin for the Jext Java Text Editor</h1> | |||||
<a name="authors"></a>by<ul> | |||||
<li>Klaus Hartlage | |||||
(<a href="mailto:KHartlage@t-online.de">KHartlage@t-online.de</a>)</li> | |||||
<h1 id="authors">AntWork Plugin for the Jext Java Text Editor</h1> | |||||
by | |||||
<ul> | |||||
<li>Klaus Hartlage (<a href="mailto:KHartlage@t-online.de">KHartlage@t-online.de</a>)</li> | |||||
</ul> | </ul> | ||||
<hr> | <hr> | ||||
@@ -52,5 +50,5 @@ compile.</p> | |||||
Jext. With a double-click on the error-message you jump to the error | Jext. With a double-click on the error-message you jump to the error | ||||
in the specified java text file.</p> | in the specified java text file.</p> | ||||
</body></html> | |||||
</body> | |||||
</html> |
@@ -42,79 +42,79 @@ his homepage.</p> | |||||
<h3>Borland element</h3> | <h3>Borland element</h3> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63"><b>Attribute</b></td> | |||||
<td valign="top" width="915"><b>Description</b></td> | |||||
<td align="center" valign="top" width="62"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td align="center" valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">destdir</td> | |||||
<td valign="top" width="915">The base directory into which the generated borland | |||||
<td valign="top">destdir</td> | |||||
<td valign="top">The base directory into which the generated borland | |||||
ready jar files are deposited</td> | ready jar files are deposited</td> | ||||
<td align="center" valign="middle" width="62">yes</td> | |||||
<td align="center" valign="middle">yes</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">debug</td> | |||||
<td valign="top" width="915">If true, turn on the debug mode for each borland | |||||
<td valign="top">debug</td> | |||||
<td valign="top">If true, turn on the debug mode for each borland | |||||
tools (java2iiop, iastool ...) default = false</td> | tools (java2iiop, iastool ...) default = false</td> | ||||
<td align="center" valign="middle" width="62">no</td> | |||||
<td align="center" valign="middle">no</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">verify</td> | |||||
<td valign="top" width="915">If true, turn on the verification at the end | |||||
<td valign="top">verify</td> | |||||
<td valign="top">If true, turn on the verification at the end | |||||
of the jar production (default = false)</td> | of the jar production (default = false)</td> | ||||
<td align="center" valign="middle" width="62">no</td> | |||||
<td align="center" valign="middle">no</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">verifyargs</td> | |||||
<td valign="top" width="915">extra parameter for verify command</td> | |||||
<td align="center" valign="middle" width="62">no</td> | |||||
<td valign="top">verifyargs</td> | |||||
<td valign="top">extra parameter for verify command</td> | |||||
<td align="center" valign="middle">no</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">suffix</td> | |||||
<td valign="top" width="915">String value appended to the basename of the | |||||
<td valign="top">suffix</td> | |||||
<td valign="top">String value appended to the basename of the | |||||
deployment descriptor to create the filename of the Borland EJB jar file.</td> | deployment descriptor to create the filename of the Borland EJB jar file.</td> | ||||
<td align="center" valign="middle" width="62">No, defaults to '-ejb.jar'.</td> | |||||
<td align="center" valign="middle">No, defaults to '-ejb.jar'.</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">basdtd</td> | |||||
<td valign="top" width="915"><b>Deprecated</b>. Defines the location of the | |||||
<td valign="top">basdtd</td> | |||||
<td valign="top"><b>Deprecated</b>. Defines the location of the | |||||
DTD which covers the Borland specific deployment descriptors. | DTD which covers the Borland specific deployment descriptors. | ||||
This should not be necessary if you have borland in your classpath. If you | This should not be necessary if you have borland in your classpath. If you | ||||
do not, you should use a nested | do not, you should use a nested | ||||
<a href="ejb.html#ejbjar-dtd"><code><dtd></code></a> element, described | <a href="ejb.html#ejbjar-dtd"><code><dtd></code></a> element, described | ||||
in the ejbjar task documentation.</td> | in the ejbjar task documentation.</td> | ||||
<td align="center" valign="middle" width="62">no</td> | |||||
<td align="center" valign="middle">no</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">ejbdtd</td> | |||||
<td valign="top" width="915"><b>Deprecated</b>. Defines the location of the | |||||
<td valign="top">ejbdtd</td> | |||||
<td valign="top"><b>Deprecated</b>. Defines the location of the | |||||
ejb-jar DTD in the class hierarchy. This should not be necessary | ejb-jar DTD in the class hierarchy. This should not be necessary | ||||
if you have borland in your classpath. If you do not, you should use a | if you have borland in your classpath. If you do not, you should use a | ||||
nested <a href="ejb.html#ejbjar-dtd"><code><dtd></code></a> element, | nested <a href="ejb.html#ejbjar-dtd"><code><dtd></code></a> element, | ||||
described in the ejbjar task | described in the ejbjar task | ||||
documentation.</td> | documentation.</td> | ||||
<td align="center" valign="middle" width="62">no</td> | |||||
<td align="center" valign="middle">no</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">generateclient</td> | |||||
<td valign="top" width="915">If true, turn on the generation of the corresponding | |||||
<td valign="top">generateclient</td> | |||||
<td valign="top">If true, turn on the generation of the corresponding | |||||
ejbjar (default = false)</td> | ejbjar (default = false)</td> | ||||
<td align="center" valign="middle" width="62">no</td> | |||||
<td align="center" valign="middle">no</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">version</td> | |||||
<td valign="top" width="915">set the Borland Application Version. | |||||
<td valign="top">version</td> | |||||
<td valign="top">set the Borland Application Version. | |||||
<ul> | <ul> | ||||
<li>4 means B.A.S (Borland Application Server) 4.x, target will add ejb-inprise.xml file</li> | <li>4 means B.A.S (Borland Application Server) 4.x, target will add ejb-inprise.xml file</li> | ||||
<li>5 means B.E.S (Borland Application Server) 5.x, target will add ejb-borland.xml file</li> | <li>5 means B.E.S (Borland Application Server) 5.x, target will add ejb-borland.xml file</li> | ||||
</ul> | </ul> | ||||
</td> | </td> | ||||
<td align="center" valign="middle" width="62">No, defaults to 4</td> | |||||
<td align="center" valign="middle">No, defaults to 4</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">java2iiopParams</td> | |||||
<td valign="top" width="915">If filled, the params are added to the java2iiop command (ex: -no_warn_missing_define)</td> | |||||
<td align="center" valign="middle" width="62">no</td> | |||||
<td valign="top">java2iiopParams</td> | |||||
<td valign="top">If filled, the params are added to the java2iiop command (ex: -no_warn_missing_define)</td> | |||||
<td align="center" valign="middle">no</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -33,43 +33,43 @@ | |||||
<h3>Parameters</h3> | <h3>Parameters</h3> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63"><b>Attribute</b></td> | |||||
<td valign="top" width="915"><b>Description</b></td> | |||||
<td align="center" valign="top" width="62"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td align="center" valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">ejbjar</td> | |||||
<td valign="top" width="915">ejb jar file</td> | |||||
<td align="center" valign="middle" width="62">yes</td> | |||||
<td valign="top">ejbjar</td> | |||||
<td valign="top">ejb jar file</td> | |||||
<td align="center" valign="middle">yes</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">debug</td> | |||||
<td valign="top" width="915">If true, turn on the debug mode for each borland | |||||
<td valign="top">debug</td> | |||||
<td valign="top">If true, turn on the debug mode for each borland | |||||
tools (java2iiop, iastool ...) default = false</td> | tools (java2iiop, iastool ...) default = false</td> | ||||
<td align="center" valign="middle" width="62">no</td> | |||||
<td align="center" valign="middle">no</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">clientjar</td> | |||||
<td valign="top" width="915">client jar file name. If missing the client jar | |||||
<td valign="top">clientjar</td> | |||||
<td valign="top">client jar file name. If missing the client jar | |||||
file name is build using the ejbjar file name: ejbjar = hellobean-ejb.jar | file name is build using the ejbjar file name: ejbjar = hellobean-ejb.jar | ||||
=> hellobean-ejbclient.jar</td> | => hellobean-ejbclient.jar</td> | ||||
<td align="center" valign="middle" width="62">no</td> | |||||
<td align="center" valign="middle">no</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">mode</td> | |||||
<td valign="top" width="915">choose the command launching mode. Two values: | |||||
<td valign="top">mode</td> | |||||
<td valign="top">choose the command launching mode. Two values: | |||||
java or fork. default = fork. java is not supported for version=5.Possibility to specify a classpath.</td> | java or fork. default = fork. java is not supported for version=5.Possibility to specify a classpath.</td> | ||||
<td align="center" valign="middle" width="62">no</td> | |||||
<td align="center" valign="middle">no</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="63">version</td> | |||||
<td valign="top" width="915">set the Borland Application Version. | |||||
<td valign="top">version</td> | |||||
<td valign="top">set the Borland Application Version. | |||||
<ul> | <ul> | ||||
<li>4 means B.A.S (Borland Application Server 4.x)</li> | <li>4 means B.A.S (Borland Application Server 4.x)</li> | ||||
<li>5 means B.E.S (Borland Application Server 5.x)</li> | <li>5 means B.E.S (Borland Application Server 5.x)</li> | ||||
</ul> | </ul> | ||||
</td> | </td> | ||||
<td align="center" valign="middle" width="62">No, defaults to 4</td> | |||||
<td align="center" valign="middle">No, defaults to 4</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -37,9 +37,9 @@ href="../Types/resources.html#collection">Resource Collection</a>s | |||||
– including but not restricted to | – including but not restricted to | ||||
<a href="../Types/fileset.html">FileSet</a>s, | <a href="../Types/fileset.html">FileSet</a>s, | ||||
<a href="../Types/dirset.html">DirSet</a>s | <a href="../Types/dirset.html">DirSet</a>s | ||||
(<em>since Ant 1.6</em>) or | |||||
(<em>since Ant 1.6</em>) or | |||||
<a href="../Types/filelist.html">FileList</a>s | <a href="../Types/filelist.html">FileList</a>s | ||||
(<em>since Ant 1.6</em>) | |||||
(<em>since Ant 1.6</em>) | |||||
– are passed as arguments to the system command.</p> | – are passed as arguments to the system command.</p> | ||||
<p>If you specify a nested <a href="../Types/mapper.html">mapper</a>, | <p>If you specify a nested <a href="../Types/mapper.html">mapper</a>, | ||||
the timestamp of each source file is compared to the timestamp of a | the timestamp of each source file is compared to the timestamp of a | ||||
@@ -86,7 +86,7 @@ to send input to it is via the input and inputstring attributes.</p> | |||||
<td valign="top">whether or not you want the commands to be spawned.<br> | <td valign="top">whether or not you want the commands to be spawned.<br> | ||||
If you spawn a command, its output will not be logged by Ant.<br> | If you spawn a command, its output will not be logged by Ant.<br> | ||||
The input, output, error, and result property settings are not active when spawning a process.<br> | The input, output, error, and result property settings are not active when spawning a process.<br> | ||||
<em>since Ant 1.6</em> | |||||
<em>since Ant 1.6</em> | |||||
</td> | </td> | ||||
<td align="center" valign="top">No, default is <i>false</i></td> | <td align="center" valign="top">No, default is <i>false</i></td> | ||||
</tr> | </tr> | ||||
@@ -139,7 +139,7 @@ to send input to it is via the input and inputstring attributes.</p> | |||||
<tr> | <tr> | ||||
<td valign="top">error</td> | <td valign="top">error</td> | ||||
<td valign="top">The file to which the standard error of the | <td valign="top">The file to which the standard error of the | ||||
command should be redirected. <em>since Ant 1.6</em></td> | |||||
command should be redirected. <em>since Ant 1.6</em></td> | |||||
<td align="center" valign="top">No</td> | <td align="center" valign="top">No</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -149,7 +149,7 @@ to send input to it is via the input and inputstring attributes.</p> | |||||
file/property. The error output will not be included in the output | file/property. The error output will not be included in the output | ||||
file/property. If you redirect error with the "error" or | file/property. If you redirect error with the "error" or | ||||
"errorProperty" attributes, this will have no effect. | "errorProperty" attributes, this will have no effect. | ||||
<em>since Ant 1.6</em></td> | |||||
<em>since Ant 1.6</em></td> | |||||
<td align="center" valign="top">No</td> | <td align="center" valign="top">No</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -170,21 +170,21 @@ to send input to it is via the input and inputstring attributes.</p> | |||||
<tr> | <tr> | ||||
<td valign="top">errorproperty</td> | <td valign="top">errorproperty</td> | ||||
<td valign="top">The name of a property in which the standard error of the | <td valign="top">The name of a property in which the standard error of the | ||||
command should be stored. <em>since Ant 1.6</em></td> | |||||
command should be stored. <em>since Ant 1.6</em></td> | |||||
<td align="center" valign="top">No</td> | <td align="center" valign="top">No</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">input</td> | <td valign="top">input</td> | ||||
<td valign="top">A file from which the executed command's standard | <td valign="top">A file from which the executed command's standard | ||||
input is taken. This attribute is mutually exclusive with the | input is taken. This attribute is mutually exclusive with the | ||||
inputstring attribute. <em>since Ant 1.6</em></td> | |||||
inputstring attribute. <em>since Ant 1.6</em></td> | |||||
<td align="center" valign="top">No</td> | <td align="center" valign="top">No</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">inputstring</td> | <td valign="top">inputstring</td> | ||||
<td valign="top">A string which serves as the input stream for the | <td valign="top">A string which serves as the input stream for the | ||||
executed command. This attribute is mutually exclusive with the | executed command. This attribute is mutually exclusive with the | ||||
input attribute. <em>since Ant 1.6</em></td> | |||||
input attribute. <em>since Ant 1.6</em></td> | |||||
<td align="center" valign="top">No</td> | <td align="center" valign="top">No</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -265,38 +265,38 @@ to send input to it is via the input and inputstring attributes.</p> | |||||
that does not exist, against the execution directory if | that does not exist, against the execution directory if | ||||
specified. On Unix systems, if you only want to allow execution of | specified. On Unix systems, if you only want to allow execution of | ||||
commands in the user's path, set this to false. | commands in the user's path, set this to false. | ||||
<em>since Ant 1.6</em></td> | |||||
<em>since Ant 1.6</em></td> | |||||
<td align="center" valign="top">No, default is <i>false</i></td> | <td align="center" valign="top">No, default is <i>false</i></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">maxparallel</td> | <td valign="top">maxparallel</td> | ||||
<td valign="top">Limit the amount of parallelism by passing at | <td valign="top">Limit the amount of parallelism by passing at | ||||
most this many sourcefiles at once. Set it to <= 0 for | most this many sourcefiles at once. Set it to <= 0 for | ||||
unlimited. <em>Since Ant 1.6</em>.</td> | |||||
unlimited. <em>Since Ant 1.6</em>.</td> | |||||
<td align="center" valign="top">No, unlimited by default</td> | <td align="center" valign="top">No, unlimited by default</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">addsourcefile</td> | <td valign="top">addsourcefile</td> | ||||
<td valign="top">Whether source file names should be added to the | <td valign="top">Whether source file names should be added to the | ||||
command automatically. <em>Since Ant 1.6</em>.</td> | |||||
command automatically. <em>Since Ant 1.6</em>.</td> | |||||
<td align="center" valign="top">No, default is <i>true</i></td> | <td align="center" valign="top">No, default is <i>true</i></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">verbose</td> | <td valign="top">verbose</td> | ||||
<td valign="top">Whether to print a summary after execution or not. | <td valign="top">Whether to print a summary after execution or not. | ||||
<em>Since Ant 1.6</em>.</td> | |||||
<em>Since Ant 1.6</em>.</td> | |||||
<td align="center" valign="top">No, default <i>false</i></td> | <td align="center" valign="top">No, default <i>false</i></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">ignoremissing</td> | <td valign="top">ignoremissing</td> | ||||
<td valign="top">Whether to ignore nonexistent files specified | <td valign="top">Whether to ignore nonexistent files specified | ||||
via filelists. <em>Since Ant 1.6.2</em>.</td> | |||||
via filelists. <em>Since Ant 1.6.2</em>.</td> | |||||
<td align="center" valign="top">No, default is <i>true</i></td> | <td align="center" valign="top">No, default is <i>true</i></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">force</td> | <td valign="top">force</td> | ||||
<td valign="top">Whether to bypass timestamp comparisons | <td valign="top">Whether to bypass timestamp comparisons | ||||
for target files. <em>Since Ant 1.6.3</em>.</td> | |||||
for target files. <em>Since Ant 1.6.3</em>.</td> | |||||
<td align="center" valign="top">No, default is <i>false</i></td> | <td align="center" valign="top">No, default is <i>false</i></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -306,12 +306,12 @@ to send input to it is via the input and inputstring attributes.</p> | |||||
elements to define the files for this task and refer to | elements to define the files for this task and refer to | ||||
<code><fileset></code>s defined elsewhere.</p> | <code><fileset></code>s defined elsewhere.</p> | ||||
<h4>filelist</h4> | <h4>filelist</h4> | ||||
<p><em>Since Ant 1.6</em></p> | |||||
<p><em>Since Ant 1.6</em></p> | |||||
<p>You can use any number of nested <code><filelist></code> | <p>You can use any number of nested <code><filelist></code> | ||||
elements to define the files for this task and refer to | elements to define the files for this task and refer to | ||||
<code><filelist></code>s defined elsewhere.</p> | <code><filelist></code>s defined elsewhere.</p> | ||||
<h4>dirset</h4> | <h4>dirset</h4> | ||||
<p><em>Since Ant 1.6</em></p> | |||||
<p><em>Since Ant 1.6</em></p> | |||||
<p>You can use any number of nested <code><dirset></code> | <p>You can use any number of nested <code><dirset></code> | ||||
elements to define the directories for this task and refer to | elements to define the directories for this task and refer to | ||||
<code><dirset></code>s defined elsewhere.</p> | <code><dirset></code>s defined elsewhere.</p> | ||||
@@ -386,7 +386,7 @@ specified if you also define a nested mapper.</p> | |||||
system command via nested <code><env></code> elements. See the | system command via nested <code><env></code> elements. See the | ||||
description in the section about <a href="exec.html#env">exec</a></p> | description in the section about <a href="exec.html#env">exec</a></p> | ||||
<h4>redirector</h4> | <h4>redirector</h4> | ||||
<em>Since Ant 1.6.2</em> | |||||
<em>Since Ant 1.6.2</em> | |||||
<p>A nested <a href="../Types/redirector.html">I/O Redirector</a> | <p>A nested <a href="../Types/redirector.html">I/O Redirector</a> | ||||
can be specified. <apply>'s behavior is like that of | can be specified. <apply>'s behavior is like that of | ||||
<a href="exec.html#redirector">exec</a> with regard to | <a href="exec.html#redirector">exec</a> with regard to | ||||
@@ -147,7 +147,7 @@ if the class <code>javax.xml.transform.Transformer</code> is found in the classp | |||||
<available property="have.extras" resource="extratasks.properties"> | <available property="have.extras" resource="extratasks.properties"> | ||||
<classpath> | <classpath> | ||||
<pathelement location="/usr/local/ant/extra.jar" /> | <pathelement location="/usr/local/ant/extra.jar" /> | ||||
</classpath> | |||||
</classpath> | |||||
</available> | </available> | ||||
</pre></blockquote> | </pre></blockquote> | ||||
<p>sets the <code>have.extras</code> property to the value "true" | <p>sets the <code>have.extras</code> property to the value "true" | ||||
@@ -205,9 +205,9 @@ web server of the specified url. By default, HTTP responses errors | |||||
of 400 or greater are viewed as invalid.</p> | of 400 or greater are viewed as invalid.</p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">url</td> | <td valign="top">url</td> | ||||
@@ -244,9 +244,9 @@ of 400 or greater are viewed as invalid.</p> | |||||
TCP/IP listener at the specified host and port.</p> | TCP/IP listener at the specified host and port.</p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">server</td> | <td valign="top">server</td> | ||||
@@ -270,9 +270,9 @@ or the filenames match the answer is so obvious the detailed test is omitted. | |||||
</p> | </p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">file1</td> | <td valign="top">file1</td> | ||||
@@ -771,9 +771,9 @@ must match. <em>Since Ant 1.7</em> | |||||
</p> | </p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">astext</td> | <td valign="top">astext</td> | ||||
@@ -792,9 +792,9 @@ must match. <em>Since Ant 1.7</em> | |||||
</p> | </p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">resource</td> | <td valign="top">resource</td> | ||||
@@ -830,9 +830,9 @@ must match. <em>Since Ant 1.7</em> | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">classname</td> | <td valign="top">classname</td> | ||||
@@ -1033,9 +1033,9 @@ is redundant and will be ignored.</p> | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">millis</td> | <td valign="top">millis</td> | ||||
@@ -1098,9 +1098,9 @@ is redundant and will be ignored.</p> | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">atleast</td> | <td valign="top">atleast</td> | ||||
@@ -1735,7 +1735,7 @@ nested elements.</p> | |||||
JOnAS EJB container. This example requires the naming standard to be used for | JOnAS EJB container. This example requires the naming standard to be used for | ||||
the deployment descriptors. Using this format will create a EJB JAR file for | the deployment descriptors. Using this format will create a EJB JAR file for | ||||
each variation of '*-jar.xml' that is found in the deployment descriptor | each variation of '*-jar.xml' that is found in the deployment descriptor | ||||
directory. </p> | |||||
directory.</p> | |||||
<pre> | <pre> | ||||
<ejbjar srcdir="${build.classes}" | <ejbjar srcdir="${build.classes}" | ||||
@@ -64,9 +64,9 @@ try to set up a new connection.</p> | |||||
<h3>Parameters</h3> | <h3>Parameters</h3> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td valign="top" width="15%"><b>Attribute</b></td> | |||||
<td valign="top" width="65%"><b>Description</b></td> | |||||
<td align="center" valign="top" width="20%"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td align="center" valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">server</td> | <td valign="top">server</td> | ||||
@@ -386,36 +386,36 @@ try to set up a new connection.</p> | |||||
<table> | <table> | ||||
<tbody> | <tbody> | ||||
<tr> | <tr> | ||||
<td style="vertical-align: top;" width="20%">Action</td> | |||||
<td style="vertical-align: top;" width="40%">meaning of <code>remotedir</code></td> | |||||
<td style="vertical-align: top;">Action</td> | |||||
<td style="vertical-align: top;">meaning of <code>remotedir</code></td> | |||||
<td style="vertical-align: top;">use of nested <code>fileset</code>(s)</td> | <td style="vertical-align: top;">use of nested <code>fileset</code>(s)</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td style="vertical-align: top;" width="20%">send/put</td> | |||||
<td style="vertical-align: top;" width="40%">base directory to | |||||
<td style="vertical-align: top;">send/put</td> | |||||
<td style="vertical-align: top;">base directory to | |||||
which the files are sent</td> | which the files are sent</td> | ||||
<td style="vertical-align: top;">they are used normally and | <td style="vertical-align: top;">they are used normally and | ||||
evaluated on the local machine</td> | evaluated on the local machine</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td style="vertical-align: top;" width="20%">recv/get</td> | |||||
<td style="vertical-align: top;" width="40%">base directory from | |||||
<td style="vertical-align: top;">recv/get</td> | |||||
<td style="vertical-align: top;">base directory from | |||||
which the files are retrieved</td> | which the files are retrieved</td> | ||||
<td style="vertical-align: top;">the remote files located under | <td style="vertical-align: top;">the remote files located under | ||||
the <code>remotedir</code> matching the include/exclude patterns of | the <code>remotedir</code> matching the include/exclude patterns of | ||||
the <code>fileset</code></td> | the <code>fileset</code></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td style="vertical-align: top;" width="20%">del/delete</td> | |||||
<td style="vertical-align: top;" width="40%">base directory from | |||||
<td style="vertical-align: top;">del/delete</td> | |||||
<td style="vertical-align: top;">base directory from | |||||
which files get deleted</td> | which files get deleted</td> | ||||
<td style="vertical-align: top;">the remote files located under | <td style="vertical-align: top;">the remote files located under | ||||
the <code>remotedir</code> matching the include/exclude patterns of | the <code>remotedir</code> matching the include/exclude patterns of | ||||
the <code>fileset</code></td> | the <code>fileset</code></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td style="vertical-align: top;" width="20%">list</td> | |||||
<td style="vertical-align: top;" width="40%">base directory from | |||||
<td style="vertical-align: top;">list</td> | |||||
<td style="vertical-align: top;">base directory from | |||||
which files are listed<br> | which files are listed<br> | ||||
</td> | </td> | ||||
<td style="vertical-align: top;">the remote files located under | <td style="vertical-align: top;">the remote files located under | ||||
@@ -423,21 +423,21 @@ the <code>remotedir</code> matching the include/exclude patterns of | |||||
the <code>fileset</code></td> | the <code>fileset</code></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td style="vertical-align: top;" width="20%">mkdir</td> | |||||
<td style="vertical-align: top;" width="40%">directory to create</td> | |||||
<td style="vertical-align: top;">mkdir</td> | |||||
<td style="vertical-align: top;">directory to create</td> | |||||
<td style="vertical-align: top;">not used</td> | <td style="vertical-align: top;">not used</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td style="vertical-align: top;" width="20%">chmod</td> | |||||
<td style="vertical-align: top;" width="40%">base directory from | |||||
<td style="vertical-align: top;">chmod</td> | |||||
<td style="vertical-align: top;">base directory from | |||||
which the mode of files get changed</td> | which the mode of files get changed</td> | ||||
<td style="vertical-align: top;">the remote files located under | <td style="vertical-align: top;">the remote files located under | ||||
the <code>remotedir</code> matching the include/exclude patterns of | the <code>remotedir</code> matching the include/exclude patterns of | ||||
the <code>fileset</code></td> | the <code>fileset</code></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td style="vertical-align: top;" width="20%">rmdir</td> | |||||
<td style="vertical-align: top;" width="40%">base directory from | |||||
<td style="vertical-align: top;">rmdir</td> | |||||
<td style="vertical-align: top;">base directory from | |||||
which directories get removed</td> | which directories get removed</td> | ||||
<td style="vertical-align: top;">the remote directories located | <td style="vertical-align: top;">the remote directories located | ||||
under the <code>remotedir</code> matching the include/exclude | under the <code>remotedir</code> matching the include/exclude | ||||
@@ -220,12 +220,12 @@ nested inside the Draw object.</p> | |||||
<h3>Examples</h3> | <h3>Examples</h3> | ||||
<blockquote><pre> | <blockquote><pre> | ||||
<image destdir="samples/low" overwrite="yes"> | |||||
<fileset dir="samples/full"> | |||||
<include name="**/*.jpg"/> | |||||
</fileset> | |||||
<scale width="160" height="160" proportions="fit"/> | |||||
</image> | |||||
<image destdir="samples/low" overwrite="yes"> | |||||
<fileset dir="samples/full"> | |||||
<include name="**/*.jpg"/> | |||||
</fileset> | |||||
<scale width="160" height="160" proportions="fit"/> | |||||
</image> | |||||
</pre></blockquote> | </pre></blockquote> | ||||
<p>Create thumbnails of my images and make sure they all fit within the 160x160 size whether the | <p>Create thumbnails of my images and make sure they all fit within the 160x160 size whether the | ||||
image is portrait or landscape.</p> | image is portrait or landscape.</p> | ||||
@@ -118,12 +118,12 @@ properties from <code>imported.properties</code>:</p> | |||||
<pre><!-- importing.xml --> | <pre><!-- importing.xml --> | ||||
<project name="importing" basedir="." default="..."> | <project name="importing" basedir="." default="..."> | ||||
<import file="${path_to_imported}/imported.xml"/> | |||||
<import file="${path_to_imported}/imported.xml"/> | |||||
</project> | </project> | ||||
<!-- imported.xml --> | <!-- imported.xml --> | ||||
<project name="imported" basedir="." default="..."> | <project name="imported" basedir="." default="..."> | ||||
<property file="imported.properties"/> | |||||
<property file="imported.properties"/> | |||||
</project> | </project> | ||||
</pre> | </pre> | ||||
@@ -135,8 +135,8 @@ of <code>imported.xml</code> is ignored by Ant. The right way to use | |||||
<pre> | <pre> | ||||
<!-- imported.xml --> | <!-- imported.xml --> | ||||
<project name="imported" basedir="." default="..."> | <project name="imported" basedir="." default="..."> | ||||
<dirname property="imported.basedir" file="${ant.file.imported}"/> | |||||
<property file="${imported.basedir}/imported.properties"/> | |||||
<dirname property="imported.basedir" file="${ant.file.imported}"/> | |||||
<property file="${imported.basedir}/imported.properties"/> | |||||
</project> | </project> | ||||
</pre> | </pre> | ||||
@@ -224,14 +224,12 @@ collection</h4> | |||||
1.8.0</em></p> | 1.8.0</em></p> | ||||
<h3>Examples</h3> | <h3>Examples</h3> | ||||
<pre> <import file="../common-targets.xml"/> | |||||
</pre> | |||||
<pre> <import file="../common-targets.xml"/></pre> | |||||
<p>Imports targets from the common-targets.xml file that is in a parent | <p>Imports targets from the common-targets.xml file that is in a parent | ||||
directory.</p> | directory.</p> | ||||
<pre> <import file="${deploy-platform}.xml"/> | |||||
</pre> | |||||
<pre> <import file="${deploy-platform}.xml"/></pre> | |||||
<p>Imports the project defined by the property deploy-platform</p> | <p>Imports the project defined by the property deploy-platform</p> | ||||
@@ -113,12 +113,12 @@ properties from <code>included.properties</code>:</p> | |||||
<pre><!-- including.xml --> | <pre><!-- including.xml --> | ||||
<project name="including" basedir="." default="..."> | <project name="including" basedir="." default="..."> | ||||
<include file="${path_to_included}/included.xml"/> | |||||
<include file="${path_to_included}/included.xml"/> | |||||
</project> | </project> | ||||
<!-- included.xml --> | <!-- included.xml --> | ||||
<project name="included" basedir="." default="..."> | <project name="included" basedir="." default="..."> | ||||
<property file="included.properties"/> | |||||
<property file="included.properties"/> | |||||
</project> | </project> | ||||
</pre> | </pre> | ||||
@@ -130,8 +130,8 @@ of <code>included.xml</code> is ignored by Ant. The right way to use | |||||
<pre> | <pre> | ||||
<!-- included.xml --> | <!-- included.xml --> | ||||
<project name="included" basedir="." default="..."> | <project name="included" basedir="." default="..."> | ||||
<dirname property="included.basedir" file="${ant.file.included}"/> | |||||
<property file="${included.basedir}/included.properties"/> | |||||
<dirname property="included.basedir" file="${ant.file.included}"/> | |||||
<property file="${included.basedir}/included.properties"/> | |||||
</project> | </project> | ||||
</pre> | </pre> | ||||
@@ -219,14 +219,12 @@ collection</h4> | |||||
<p>The specified resources will be included.</p> | <p>The specified resources will be included.</p> | ||||
<h3>Examples</h3> | <h3>Examples</h3> | ||||
<pre> <include file="../common-targets.xml"/> | |||||
</pre> | |||||
<pre> <include file="../common-targets.xml"/></pre> | |||||
<p>Includes targets from the common-targets.xml file that is in a parent | <p>Includes targets from the common-targets.xml file that is in a parent | ||||
directory.</p> | directory.</p> | ||||
<pre> <include file="${deploy-platform}.xml"/> | |||||
</pre> | |||||
<pre> <include file="${deploy-platform}.xml"/></pre> | |||||
<p>Includes the project defined by the property deploy-platform</p> | <p>Includes the project defined by the property deploy-platform</p> | ||||
@@ -543,7 +543,7 @@ program (Implementation-Version). Note that the Built-By attribute will take the | |||||
property ${user.name}. The manifest produced by the above would look like this: | property ${user.name}. The manifest produced by the above would look like this: | ||||
</p> | </p> | ||||
<blockquote><pre><code>Manifest-Version: 1.0 | |||||
<blockquote><pre>Manifest-Version: 1.0 | |||||
Permissions: sandbox | Permissions: sandbox | ||||
Codebase: example.com | Codebase: example.com | ||||
Built-By: conor | Built-By: conor | ||||
@@ -553,7 +553,7 @@ Implementation-Version: 1.0.0beta2 | |||||
Created-By: Apache Ant 1.9.2 | Created-By: Apache Ant 1.9.2 | ||||
Name: common/MyClass.class | Name: common/MyClass.class | ||||
Sealed: false</code></pre></blockquote> | |||||
Sealed: false</pre></blockquote> | |||||
<h4>Service Provider</h4> | <h4>Service Provider</h4> | ||||
@@ -32,7 +32,7 @@ specified.</p> | |||||
If odd things go wrong when you run this task, set fork="true" to use a new | If odd things go wrong when you run this task, set fork="true" to use a new | ||||
JVM. | JVM. | ||||
<p>As of Ant 1.6.3, you can interact with a forked VM, as well as | |||||
<p><em>Since Ant 1.6.3</em>, you can interact with a forked VM, as well as | |||||
sending input to it via the <code>input</code> and <code>inputstring</code> | sending input to it via the <code>input</code> and <code>inputstring</code> | ||||
attributes.</p> | attributes.</p> | ||||
@@ -571,9 +571,9 @@ enable arguments only if a given compiler implementation will be | |||||
used.</p> | used.</p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">value</td> | <td valign="top">value</td> | ||||
@@ -38,9 +38,8 @@ systems are used.</p> | |||||
attribute instead which allows you to compile the classes and | attribute instead which allows you to compile the classes and | ||||
generate the native header files with a single step.</p> | generate the native header files with a single step.</p> | ||||
<p><strong>Note</strong>: <code>javah</code> has been deprecated as of Java 9 | |||||
and removed as of Java 10. Trying to use it with Java 10 will | |||||
fail.</p> | |||||
<p><strong>Note</strong>: <code>javah</code> has been deprecated in Java 9 | |||||
and removed in Java 10. Attempts to use it with Java 10 will fail.</p> | |||||
<p id="implementationvalues">It is possible to use different | <p id="implementationvalues">It is possible to use different | ||||
compilers. This can be selected with the <code>implementation</code> | compilers. This can be selected with the <code>implementation</code> | ||||
@@ -132,7 +131,7 @@ attribute:</p> | |||||
<td align="center" valign="top">No</td> | <td align="center" valign="top">No</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<p>Either outputFile or destdir must be supplied, but not both. </p> | |||||
<p>Either outputFile or destdir must be supplied, but not both.</p> | |||||
<h3>Parameters specified as nested elements</h3> | <h3>Parameters specified as nested elements</h3> | ||||
@@ -146,9 +145,9 @@ only if a given compiler implementation will be used.</p> | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">value</td> | <td valign="top">value</td> | ||||
@@ -120,9 +120,9 @@ to ignore (requires JDepend 2.5 or above).</p> | |||||
<blockquote> | <blockquote> | ||||
<pre> | <pre> | ||||
<jdepend classpathref="base.path"> | <jdepend classpathref="base.path"> | ||||
<classespath> | |||||
<pathelement location="build"/> | |||||
</classespath> | |||||
<classespath> | |||||
<pathelement location="build"/> | |||||
</classespath> | |||||
</jdepend> | </jdepend> | ||||
</pre> | </pre> | ||||
</blockquote> | </blockquote> | ||||
@@ -134,13 +134,13 @@ classpath reference.</p> | |||||
<blockquote> | <blockquote> | ||||
<pre> | <pre> | ||||
<jdepend outputfile="docs/jdepend.xml" fork="yes" format="xml"> | <jdepend outputfile="docs/jdepend.xml" fork="yes" format="xml"> | ||||
<sourcespath> | |||||
<pathelement location="src"/> | |||||
</sourcespath> | |||||
<classpath> | |||||
<pathelement location="classes"/> | |||||
<pathelement location="lib/jdepend.jar"/> | |||||
</classpath> | |||||
<sourcespath> | |||||
<pathelement location="src"/> | |||||
</sourcespath> | |||||
<classpath> | |||||
<pathelement location="classes"/> | |||||
<pathelement location="lib/jdepend.jar"/> | |||||
</classpath> | |||||
</jdepend> | </jdepend> | ||||
</pre> | </pre> | ||||
</blockquote> | </blockquote> | ||||
@@ -153,11 +153,11 @@ classpath is defined using nested elements.</p> | |||||
<blockquote> | <blockquote> | ||||
<pre> | <pre> | ||||
<jdepend classpathref="base.path"> | <jdepend classpathref="base.path"> | ||||
<exclude name="java.*> | |||||
<exclude name="javax.*> | |||||
<classespath> | |||||
<pathelement location="build"/> | |||||
</classespath> | |||||
<exclude name="java.*> | |||||
<exclude name="javax.*> | |||||
<classespath> | |||||
<pathelement location="build"/> | |||||
</classespath> | |||||
</jdepend> | </jdepend> | ||||
</pre> | </pre> | ||||
</blockquote> | </blockquote> | ||||
@@ -71,7 +71,7 @@ generated BNF documentation file.</p> | |||||
<td valign="top">outputfile</td> | <td valign="top">outputfile</td> | ||||
<td valign="top">The file to write the generated BNF documentation file to. If not set, | <td valign="top">The file to write the generated BNF documentation file to. If not set, | ||||
the file is written with the same name as the JavaCC grammar file but with a the suffix .html or .txt. </td> | |||||
the file is written with the same name as the JavaCC grammar file but with a the suffix .html or .txt</td> | |||||
<td align="center" valign="top">No</td> | <td align="center" valign="top">No</td> | ||||
</tr> | </tr> | ||||
@@ -106,9 +106,9 @@ Example</h3> | |||||
<blockquote> | <blockquote> | ||||
<pre><jjdoc | <pre><jjdoc | ||||
target="src/Parser.jj" | |||||
outputfile="doc/ParserBNF.html" | |||||
javacchome="c:/program files/JavaCC"/></pre> | |||||
target="src/Parser.jj" | |||||
outputfile="doc/ParserBNF.html" | |||||
javacchome="c:/program files/JavaCC"/></pre> | |||||
</blockquote> | </blockquote> | ||||
This invokes JJDoc on grammar file src/Parser.jj, writing the generated | This invokes JJDoc on grammar file src/Parser.jj, writing the generated | ||||
BNF documentation file, ParserBNF.html, file to doc. | BNF documentation file, ParserBNF.html, file to doc. | ||||
@@ -74,7 +74,7 @@ generated JavaCC file.</p> | |||||
<td valign="top">outputdirectory</td> | <td valign="top">outputdirectory</td> | ||||
<td valign="top">The directory to write the generated JavaCC grammar and node files to. | <td valign="top">The directory to write the generated JavaCC grammar and node files to. | ||||
If not set, the files are written to the directory containing the grammar file. </td> | |||||
If not set, the files are written to the directory containing the grammar file.</td> | |||||
<td align="center" valign="top">No</td> | <td align="center" valign="top">No</td> | ||||
</tr> | </tr> | ||||
@@ -195,11 +195,11 @@ option.</td> | |||||
<h3>Example</h3> | <h3>Example</h3> | ||||
<blockquote> | <blockquote> | ||||
<pre><jjtree | |||||
target="src/Parser.jjt" | |||||
outputdirectory="build/src" | |||||
javacchome="c:/program files/JavaCC" | |||||
nodeusesparser="true"/></pre> | |||||
<pre><jjtree | |||||
target="src/Parser.jjt" | |||||
outputdirectory="build/src" | |||||
javacchome="c:/program files/JavaCC" | |||||
nodeusesparser="true"/></pre> | |||||
</blockquote> | </blockquote> | ||||
This invokes JJTree on grammar file src/Parser.jjt, writing the generated | This invokes JJTree on grammar file src/Parser.jjt, writing the generated | ||||
grammar file, Parser.jj, file to build/src. The grammar option NODE_USES_PARSER | grammar file, Parser.jj, file to build/src. The grammar option NODE_USES_PARSER | ||||
@@ -211,7 +211,7 @@ is set to true when invoking JJTree. | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td><b>Command Line JJTree options</b> | <td><b>Command Line JJTree options</b> | ||||
<br> <i>and Generated Files</i> (working directory: <code>/tmp</code>)</td> | |||||
<i>and Generated Files</i> (working directory: <code>/tmp</code>)</td> | |||||
<td><b>Ant 1.5.3</b> versus command line</td> | <td><b>Ant 1.5.3</b> versus command line</td> | ||||
<td><b>Ant 1.6</b> versus command line</td> | <td><b>Ant 1.6</b> versus command line</td> | ||||
</tr> | </tr> | ||||
@@ -73,9 +73,9 @@ elements</a>).</p> | |||||
<h3>Parameters</h3> | <h3>Parameters</h3> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">printsummary</td> | <td valign="top">printsummary</td> | ||||
@@ -289,7 +289,7 @@ supports a nested <code><classpath></code> | |||||
element that represents a <a href="../using.html#path">PATH like | element that represents a <a href="../using.html#path">PATH like | ||||
structure</a>.</p> | structure</a>.</p> | ||||
<p>As of Ant 1.7, this classpath may be used to refer to <code>junit.jar</code> | |||||
<p><em>Since Ant 1.7</em>, this classpath may be used to refer to <code>junit.jar</code> | |||||
as well as your tests and the tested code. | as well as your tests and the tested code. | ||||
<h4>jvmarg</h4> | <h4>jvmarg</h4> | ||||
@@ -416,9 +416,9 @@ the name of the resulting class (without suffix). It defaults to <i>java-tmp-dir | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">type</td> | <td valign="top">type</td> | ||||
@@ -459,9 +459,9 @@ the name of the resulting class (without suffix). It defaults to <i>java-tmp-dir | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">name</td> | <td valign="top">name</td> | ||||
@@ -583,9 +583,9 @@ supported.</p> | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">fork</td> | <td valign="top">fork</td> | ||||
@@ -58,9 +58,9 @@ available anymore for quite some time.</p> | |||||
<h3>Parameters</h3> | <h3>Parameters</h3> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">tofile</td> | <td valign="top">tofile</td> | ||||
@@ -85,9 +85,9 @@ element.</p> | |||||
<h3>Parameters</h3> | <h3>Parameters</h3> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">format</td> | <td valign="top">format</td> | ||||
@@ -336,7 +336,7 @@ the <code><message></code> element.</p> | |||||
<p>Sends an eMail from <i>config@myisp.com</i> to <i>all@xyz.com</i> with a subject of | <p>Sends an eMail from <i>config@myisp.com</i> to <i>all@xyz.com</i> with a subject of | ||||
<i>Test Build</i>. Replies to this email will go to <i>me@myisp.com</i>. | <i>Test Build</i>. Replies to this email will go to <i>me@myisp.com</i>. | ||||
Any zip files from the dist directory are attached. The | |||||
Any zip files from the dist directory are attached. The | |||||
task will attempt to use JavaMail and fall back to UU encoding or no encoding in | task will attempt to use JavaMail and fall back to UU encoding or no encoding in | ||||
that order depending on what support classes are available. <code>${buildname}</code> | that order depending on what support classes are available. <code>${buildname}</code> | ||||
will be replaced with the <code>buildname</code> property's value.</p> | will be replaced with the <code>buildname</code> property's value.</p> | ||||
@@ -172,7 +172,7 @@ version identification</a> for the package <code>common</code>.</p> | |||||
<p>The manifest produced by the above would look like this:</p> | <p>The manifest produced by the above would look like this:</p> | ||||
<pre><code>Manifest-Version: 1.0 | |||||
<pre>Manifest-Version: 1.0 | |||||
Built-By: bodewig | Built-By: bodewig | ||||
Created-By: Apache Ant 1.9 | Created-By: Apache Ant 1.9 | ||||
@@ -187,7 +187,7 @@ Implementation-Title: common | |||||
Name: common/class1.class | Name: common/class1.class | ||||
Sealed: false | Sealed: false | ||||
</code></pre> | |||||
</pre> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -162,9 +162,9 @@ only if a given converter implementation will be used.</p> | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">value</td> | <td valign="top">value</td> | ||||
@@ -44,26 +44,26 @@ file are preserved.</p> | |||||
<h3>Parameters</h3> | <h3>Parameters</h3> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">file</td> | |||||
<td width="78%" valign="top">Location of the property file to be edited</td> | |||||
<td width="10%" valign="top">Yes</td> | |||||
<td valign="top">file</td> | |||||
<td valign="top">Location of the property file to be edited</td> | |||||
<td valign="top">Yes</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">comment</td> | |||||
<td width="78%" valign="top">Header for the file itself</td> | |||||
<td width="10%" valign="top">no</td> | |||||
<td valign="top">comment</td> | |||||
<td valign="top">Header for the file itself</td> | |||||
<td valign="top">no</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">jdkproperties</td> | |||||
<td width="78%" valign="top">Use java.lang.Properties, which will | |||||
<td valign="top">jdkproperties</td> | |||||
<td valign="top">Use java.lang.Properties, which will | |||||
lose comments and layout of file (default is 'false'). <em>since | lose comments and layout of file (default is 'false'). <em>since | ||||
Ant 1.8.0</em></td> | Ant 1.8.0</em></td> | ||||
<td width="10%" valign="top">no</td> | |||||
<td valign="top">no</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -140,7 +140,7 @@ elements to specify actual modifications to the property file itself.</p> | |||||
<td align="center" valign="top">No</td> | <td align="center" valign="top">No</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<p>The rules used when setting a property value are shown below. The | |||||
<p>The rules used when setting a property value are shown below. The | |||||
operation occurs <b>after</b> these rules are considered.</p> | operation occurs <b>after</b> these rules are considered.</p> | ||||
<ul> | <ul> | ||||
@@ -68,101 +68,101 @@ version of the files contained by the repository. | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%"><b>Attribute</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top" width="78%"><b>Description</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top" width="10%"><b>Required</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">repository</td> | |||||
<td valign="top">repository</td> | |||||
<td valign="top" width="78%">The location of the repository (see your PVCS | |||||
<td valign="top">The location of the repository (see your PVCS | |||||
manuals)</td> | manuals)</td> | ||||
<td valign="top" width="10%">Yes</td> | |||||
<td valign="top">Yes</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">pvcsproject</td> | |||||
<td valign="top">pvcsproject</td> | |||||
<td valign="top" width="78%">The project within the PVCS repository to extract | |||||
<td valign="top">The project within the PVCS repository to extract | |||||
files from ("/" is root project and that is default if this attribute isn't | files from ("/" is root project and that is default if this attribute isn't | ||||
specified)</td> | specified)</td> | ||||
<td valign="top" width="10%">No</td> | |||||
<td valign="top">No</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">label</td> | |||||
<td valign="top">label</td> | |||||
<td valign="top" width="78%">Only files marked with this label are extracted.</td> | |||||
<td valign="top">Only files marked with this label are extracted.</td> | |||||
<td valign="top" width="10%">No</td> | |||||
<td valign="top">No</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">promotiongroup</td> | |||||
<td valign="top">promotiongroup</td> | |||||
<td valign="top" width="78%">Only files within this promotion group are extracted. Using | |||||
<td valign="top">Only files within this promotion group are extracted. Using | |||||
both the <i>label</i> and the <i>promotiongroup</i> tag will cause the files in the | both the <i>label</i> and the <i>promotiongroup</i> tag will cause the files in the | ||||
promotion group and with that label to be extracted. | promotion group and with that label to be extracted. | ||||
</td> | </td> | ||||
<td valign="top" width="10%">No</td> | |||||
<td valign="top">No</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">config</td> | |||||
<td valign="top">config</td> | |||||
<td valign="top" width="78%">path of a non default .cfg file. | |||||
<td valign="top">path of a non default .cfg file. | |||||
Can be given absolute or relative to Ant's base directory. | Can be given absolute or relative to Ant's base directory. | ||||
</td> | </td> | ||||
<td valign="top" width="10%">No</td> | |||||
<td valign="top">No</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">force</td> | |||||
<td valign="top">force</td> | |||||
<td valign="top" width="78%">If set to <i>yes</i> all files that exists and are writable are overwritten. Default <i>no</i> causes the files that are writable to be ignored. This stops the PVCS command <i>get</i> to stop asking questions!</td> | |||||
<td valign="top">If set to <i>yes</i> all files that exists and are writable are overwritten. Default <i>no</i> causes the files that are writable to be ignored. This stops the PVCS command <i>get</i> to stop asking questions!</td> | |||||
<td valign="top" width="10%">No</td> | |||||
<td valign="top">No</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">workspace</td> | |||||
<td valign="top">workspace</td> | |||||
<td valign="top" width="78%">By specifying a workspace, the files are extracted to that location. A PVCS workspace is a | |||||
<td valign="top">By specifying a workspace, the files are extracted to that location. A PVCS workspace is a | |||||
name for a location of the workfiles and isn't as such the location itself. You define the location for a workspace | name for a location of the workfiles and isn't as such the location itself. You define the location for a workspace | ||||
using the PVCS GUI clients. If this isn't specified the default workspace for the current user is used.</td> | using the PVCS GUI clients. If this isn't specified the default workspace for the current user is used.</td> | ||||
<td valign="top" width="10%">No</td> | |||||
<td valign="top">No</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">pvcsbin</td> | |||||
<td valign="top">pvcsbin</td> | |||||
<td valign="top" width="78%">On some systems the PVCS executables <i>pcli</i> | |||||
<td valign="top">On some systems the PVCS executables <i>pcli</i> | |||||
and <i>get</i> are not found in the PATH. In such cases this attribute | and <i>get</i> are not found in the PATH. In such cases this attribute | ||||
should be set to the bin directory of the PVCS installation containing | should be set to the bin directory of the PVCS installation containing | ||||
the executables mentioned before. If this attribute isn't specified the | the executables mentioned before. If this attribute isn't specified the | ||||
tag expects the executables to be found using the PATH environment variable.</td> | tag expects the executables to be found using the PATH environment variable.</td> | ||||
<td valign="top" width="10%">No</td> | |||||
<td valign="top">No</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">ignorereturncode</td> | |||||
<td valign="top" width="78%">If set to <i>true</i> the return value from executing | |||||
<td valign="top">ignorereturncode</td> | |||||
<td valign="top">If set to <i>true</i> the return value from executing | |||||
the pvcs commands are ignored.</td> | the pvcs commands are ignored.</td> | ||||
<td valign="top" width="10%">No</td> | |||||
<td valign="top">No</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">updateonly</td> | |||||
<td valign="top" width="78%">If set to <i>true</i> files are gotten only if | |||||
<td valign="top">updateonly</td> | |||||
<td valign="top">If set to <i>true</i> files are gotten only if | |||||
newer than existing local files.</td> | newer than existing local files.</td> | ||||
<td valign="top" width="10%">No</td> | |||||
<td valign="top">No</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">filenameformat</td> | <td valign="top">filenameformat</td> | ||||
@@ -207,19 +207,19 @@ specified.</p> | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%"><b>Attribute</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top" width="78%"><b>Description</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top" width="10%"><b>Required</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top" width="12%">name</td> | |||||
<td valign="top">name</td> | |||||
<td valign="top" width="78%">The name of the pvcs project</td> | |||||
<td valign="top">The name of the pvcs project</td> | |||||
<td valign="top" width="10%">Yes</td> | |||||
<td valign="top">Yes</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -262,9 +262,9 @@ enable arguments only if a given compiler implementation will be | |||||
used.</p> | used.</p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">value</td> | <td valign="top">value</td> | ||||
@@ -143,9 +143,9 @@ the document(s). | |||||
</p> | </p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">namespace</td> | <td valign="top">namespace</td> | ||||
@@ -169,9 +169,9 @@ the document(s). | |||||
</p> | </p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">publicId</td> | <td valign="top">publicId</td> | ||||
@@ -198,9 +198,9 @@ SAX features are defined here: | |||||
</p> | </p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">name</td> | <td valign="top">name</td> | ||||
@@ -222,9 +222,9 @@ Properties can be used to set the schema used to validate the XML file. | |||||
</p> | </p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">name</td> | <td valign="top">name</td> | ||||
@@ -77,7 +77,7 @@ have been tested with Linux, Solaris & Windows2000.</p> | |||||
<tr> | <tr> | ||||
<td><a href="#SOSCheckOut">soscheckout</a></td> | <td><a href="#SOSCheckOut">soscheckout</a></td> | ||||
<td>Retrieves a read-write copy of the specified project | <td>Retrieves a read-write copy of the specified project | ||||
or file, locking the VSS master copy</td> | |||||
or file, locking the VSS master copy</td> | |||||
</tr> | </tr> | ||||
</tbody> | </tbody> | ||||
@@ -56,34 +56,34 @@ and <b>abort</b> execution and transaction and fail task.</p> | |||||
<h3>Parameters</h3> | <h3>Parameters</h3> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">driver</td> | |||||
<td width="78%" valign="top">Class name of the jdbc driver</td> | |||||
<td width="10%" valign="top">Yes</td> | |||||
<td valign="top">driver</td> | |||||
<td valign="top">Class name of the jdbc driver</td> | |||||
<td valign="top">Yes</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">url</td> | |||||
<td width="78%" valign="top">Database connection url</td> | |||||
<td width="10%" valign="top">Yes</td> | |||||
<td valign="top">url</td> | |||||
<td valign="top">Database connection url</td> | |||||
<td valign="top">Yes</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">userid</td> | |||||
<td width="78%" valign="top">Database user name</td> | |||||
<td width="10%" valign="top">Yes</td> | |||||
<td valign="top">userid</td> | |||||
<td valign="top">Database user name</td> | |||||
<td valign="top">Yes</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">password</td> | |||||
<td width="78%" valign="top">Database password</td> | |||||
<td width="10%" valign="top">Yes</td> | |||||
<td valign="top">password</td> | |||||
<td valign="top">Database password</td> | |||||
<td valign="top">Yes</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">src</td> | |||||
<td width="78%" valign="top">File containing SQL statements</td> | |||||
<td width="10%" valign="top">Yes, unless statements enclosed within tags</td> | |||||
<td valign="top">src</td> | |||||
<td valign="top">File containing SQL statements</td> | |||||
<td valign="top">Yes, unless statements enclosed within tags</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">encoding</td> | <td valign="top">encoding</td> | ||||
@@ -97,37 +97,37 @@ and <b>abort</b> execution and transaction and fail task.</p> | |||||
<td align="center">No - defaults to default JVM encoding</td> | <td align="center">No - defaults to default JVM encoding</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">delimiter</td> | |||||
<td width="78%" valign="top">String that separates SQL statements</td> | |||||
<td width="10%" valign="top">No, default ";"</td> | |||||
<td valign="top">delimiter</td> | |||||
<td valign="top">String that separates SQL statements</td> | |||||
<td valign="top">No, default ";"</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">autocommit</td> | |||||
<td width="78%" valign="top">Auto commit flag for database connection (default false)</td> | |||||
<td width="10%" valign="top">No, default "false"</td> | |||||
<td valign="top">autocommit</td> | |||||
<td valign="top">Auto commit flag for database connection (default false)</td> | |||||
<td valign="top">No, default "false"</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">print</td> | |||||
<td width="78%" valign="top">Print result sets from the statements (default false)</td> | |||||
<td width="10%" valign="top">No, default "false"</td> | |||||
<td valign="top">print</td> | |||||
<td valign="top">Print result sets from the statements (default false)</td> | |||||
<td valign="top">No, default "false"</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">showheaders</td> | |||||
<td width="78%" valign="top">Print headers for result sets from the statements (default true)</td> | |||||
<td width="10%" valign="top">No, default "true"</td> | |||||
<td valign="top">showheaders</td> | |||||
<td valign="top">Print headers for result sets from the statements (default true)</td> | |||||
<td valign="top">No, default "true"</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">showtrailers</td> | |||||
<td width="78%" valign="top">Print trailer for number of rows affected (default true)</td> | |||||
<td width="10%" valign="top">No, default "true"</td> | |||||
<td valign="top">showtrailers</td> | |||||
<td valign="top">Print trailer for number of rows affected (default true)</td> | |||||
<td valign="top">No, default "true"</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">output</td> | |||||
<td width="78%" valign="top">Output file for result sets (defaults to System.out). | |||||
<td valign="top">output</td> | |||||
<td valign="top">Output file for result sets (defaults to System.out). | |||||
<em>Since Ant 1.8</em> can specify any Resource that supports output (see | <em>Since Ant 1.8</em> can specify any Resource that supports output (see | ||||
<a href="../develop.html#set-magic">note</a>). | <a href="../develop.html#set-magic">note</a>). | ||||
</td> | </td> | ||||
<td width="10%" valign="top">No (print to System.out by default)</td> | |||||
<td valign="top">No (print to System.out by default)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">append</td> | <td valign="top">append</td> | ||||
@@ -137,120 +137,120 @@ and <b>abort</b> execution and transaction and fail task.</p> | |||||
specify a filesystem destination.</td> | specify a filesystem destination.</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">classpath</td> | |||||
<td width="78%" valign="top">Classpath used to load driver</td> | |||||
<td width="10%" valign="top">No (use system classpath)</td> | |||||
<td valign="top">classpath</td> | |||||
<td valign="top">Classpath used to load driver</td> | |||||
<td valign="top">No (use system classpath)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">classpathref</td> | |||||
<td width="78%" valign="top">The classpath to use, given as a <a href="../using.html#references">reference</a> to a path defined elsewhere.</td> | |||||
<td width="10%" valign="top">No (use system classpath)</td> | |||||
<td valign="top">classpathref</td> | |||||
<td valign="top">The classpath to use, given as a <a href="../using.html#references">reference</a> to a path defined elsewhere.</td> | |||||
<td valign="top">No (use system classpath)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">onerror</td> | |||||
<td width="78%" valign="top">Action to perform when statement fails: continue, stop, abort</td> | |||||
<td width="10%" valign="top">No, default "abort"</td> | |||||
<td valign="top">onerror</td> | |||||
<td valign="top">Action to perform when statement fails: continue, stop, abort</td> | |||||
<td valign="top">No, default "abort"</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">rdbms</td> | |||||
<td width="78%" valign="top">Execute task only if this rdbms</td> | |||||
<td width="10%" valign="top">No (no restriction)</td> | |||||
<td valign="top">rdbms</td> | |||||
<td valign="top">Execute task only if this rdbms</td> | |||||
<td valign="top">No (no restriction)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">version</td> | |||||
<td width="78%" valign="top">Execute task only if rdbms version match</td> | |||||
<td width="10%" valign="top">No (no restriction)</td> | |||||
<td valign="top">version</td> | |||||
<td valign="top">Execute task only if rdbms version match</td> | |||||
<td valign="top">No (no restriction)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">caching</td> | |||||
<td width="78%" valign="top">Should the task cache loaders and the driver?</td> | |||||
<td width="10%" valign="top">No (default=true)</td> | |||||
<td valign="top">caching</td> | |||||
<td valign="top">Should the task cache loaders and the driver?</td> | |||||
<td valign="top">No (default=true)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">delimitertype</td> | |||||
<td width="78%" valign="top">Control whether the delimiter will only be recognized on a line by itself.<br> | |||||
<td valign="top">delimitertype</td> | |||||
<td valign="top">Control whether the delimiter will only be recognized on a line by itself.<br> | |||||
Can be "normal" -anywhere on the line, or "row", meaning it must be on a line by itself</td> | Can be "normal" -anywhere on the line, or "row", meaning it must be on a line by itself</td> | ||||
<td width="10%" valign="top">No (default:normal)</td> | |||||
<td valign="top">No (default:normal)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">keepformat</td> | |||||
<td width="78%" valign="top">Control whether the format of the sql will be preserved.<br> | |||||
<td valign="top">keepformat</td> | |||||
<td valign="top">Control whether the format of the sql will be preserved.<br> | |||||
Useful when loading packages and procedures. | Useful when loading packages and procedures. | ||||
<td width="10%" valign="top">No (default=false)</td> | |||||
<td valign="top">No (default=false)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">escapeprocessing</td> | |||||
<td width="78%" valign="top">Control whether the Java statement | |||||
<td valign="top">escapeprocessing</td> | |||||
<td valign="top">Control whether the Java statement | |||||
object will perform escape substitution.<br> | object will perform escape substitution.<br> | ||||
See <a | See <a | ||||
href="http://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html#setEscapeProcessing%28boolean%29">Statement's | href="http://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html#setEscapeProcessing%28boolean%29">Statement's | ||||
API docs</a> for details. <em>Since Ant 1.6</em>. | API docs</a> for details. <em>Since Ant 1.6</em>. | ||||
<td width="10%" valign="top">No (default=true)</td> | |||||
<td valign="top">No (default=true)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">expandproperties</td> | |||||
<td width="78%" valign="top">Set to true to turn on property expansion in | |||||
<td valign="top">expandproperties</td> | |||||
<td valign="top">Set to true to turn on property expansion in | |||||
nested SQL, inline in the task or nested transactions. <em>Since Ant 1.7</em>. | nested SQL, inline in the task or nested transactions. <em>Since Ant 1.7</em>. | ||||
<td width="10%" valign="top">No (default=true)</td> | |||||
<td valign="top">No (default=true)</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">rawblobs</td> | |||||
<td width="78%" valign="top">If true, will write raw streams rather than hex encoding when | |||||
<td valign="top">rawblobs</td> | |||||
<td valign="top">If true, will write raw streams rather than hex encoding when | |||||
printing BLOB results. <em>Since Ant 1.7.1</em>.</td> | printing BLOB results. <em>Since Ant 1.7.1</em>.</td> | ||||
<td width="10%" valign="top">No, default <em>false</em></td> | |||||
<td valign="top">No, default <em>false</em></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">failOnConnectionError</td> | |||||
<td width="78%" valign="top">If false, will only print a warning | |||||
<td valign="top">failOnConnectionError</td> | |||||
<td valign="top">If false, will only print a warning | |||||
message and not execute any statement if the task fails to connect | message and not execute any statement if the task fails to connect | ||||
to the database. <em>Since Ant 1.8.0</em>.</td> | to the database. <em>Since Ant 1.8.0</em>.</td> | ||||
<td width="10%" valign="top">No, default <em>true</em></td> | |||||
<td valign="top">No, default <em>true</em></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">strictDelimiterMatching</td> | |||||
<td width="78%" valign="top">If false, delimiters will be searched | |||||
<td valign="top">strictDelimiterMatching</td> | |||||
<td valign="top">If false, delimiters will be searched | |||||
for in a case-insensitive manner (i.e. delimiter="go" matches "GO") | for in a case-insensitive manner (i.e. delimiter="go" matches "GO") | ||||
and surrounding whitespace will be ignored (delimiter="go" matches | and surrounding whitespace will be ignored (delimiter="go" matches | ||||
"GO "). <em>Since Ant 1.8.0</em>.</td> | "GO "). <em>Since Ant 1.8.0</em>.</td> | ||||
<td width="10%" valign="top">No, default <em>true</em></td> | |||||
<td valign="top">No, default <em>true</em></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">showWarnings</td> | |||||
<td width="78%" valign="top">If true, SQLWarnings will be logged at | |||||
<td valign="top">showWarnings</td> | |||||
<td valign="top">If true, SQLWarnings will be logged at | |||||
the WARN level. <em>Since Ant 1.8.0</em>.<br/> | the WARN level. <em>Since Ant 1.8.0</em>.<br/> | ||||
<strong>Note</strong>: even if the attribute is set to false, warnings that | <strong>Note</strong>: even if the attribute is set to false, warnings that | ||||
apply to the connection will be logged at the verbose level.</td> | apply to the connection will be logged at the verbose level.</td> | ||||
<td width="10%" valign="top">No, default <em>false</em></td> | |||||
<td valign="top">No, default <em>false</em></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">treatWarningsAsErrors</td> | |||||
<td width="78%" valign="top">If true, SQLWarnings will be treated | |||||
<td valign="top">treatWarningsAsErrors</td> | |||||
<td valign="top">If true, SQLWarnings will be treated | |||||
like errors - and the logic selected via the onError attribute | like errors - and the logic selected via the onError attribute | ||||
applies. | applies. | ||||
<em>Since Ant 1.8.0</em>.</td> | <em>Since Ant 1.8.0</em>.</td> | ||||
<td width="10%" valign="top">No, default <em>false</em></td> | |||||
<td valign="top">No, default <em>false</em></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">csvColumnSeparator</td> | |||||
<td width="78%" valign="top">The column separator used when printing | |||||
<td valign="top">csvColumnSeparator</td> | |||||
<td valign="top">The column separator used when printing | |||||
the results. | the results. | ||||
<em>Since Ant 1.8.0</em>.</td> | <em>Since Ant 1.8.0</em>.</td> | ||||
<td width="10%" valign="top">No, default <em>','</em></td> | |||||
<td valign="top">No, default <em>','</em></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">csvQuoteCharacter</td> | |||||
<td width="78%" valign="top">The character used to quote column | |||||
<td valign="top">csvQuoteCharacter</td> | |||||
<td valign="top">The character used to quote column | |||||
values.<br/> | values.<br/> | ||||
If set, columns that contain either the column separator or the | If set, columns that contain either the column separator or the | ||||
quote character itself will be surrounded by the quote character. | quote character itself will be surrounded by the quote character. | ||||
@@ -258,14 +258,14 @@ and <b>abort</b> execution and transaction and fail task.</p> | |||||
the column's value.<br/> | the column's value.<br/> | ||||
<strong>Note</strong>: BLOB values will never be quoted. | <strong>Note</strong>: BLOB values will never be quoted. | ||||
<em>Since Ant 1.8.0</em>.</td> | <em>Since Ant 1.8.0</em>.</td> | ||||
<td width="10%" valign="top">No, default is not set (i.e. no quoting | |||||
<td valign="top">No, default is not set (i.e. no quoting | |||||
ever occurs)</td> | ever occurs)</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top">forceCsvQuoteChar</td> | |||||
<td width="78%" valign="top">If true, quoting always occurs</td> | |||||
<td width="10%" valign="top">No, default is not set (i.e. quoting | |||||
<td valign="top">forceCsvQuoteChar</td> | |||||
<td valign="top">If true, quoting always occurs</td> | |||||
<td valign="top">No, default is not set (i.e. quoting | |||||
occurs only where needed)</td> | occurs only where needed)</td> | ||||
</tr> | </tr> | ||||
@@ -107,9 +107,9 @@ may not apply.</p> | |||||
</p> | </p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">publicId</td> | <td valign="top">publicId</td> | ||||
@@ -136,9 +136,9 @@ SAX features are defined here: | |||||
</p> | </p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">name</td> | <td valign="top">name</td> | ||||
@@ -160,9 +160,9 @@ Properties can be used to set the schema used to validate the XML file. | |||||
</p> | </p> | ||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td width="12%" valign="top"><b>Attribute</b></td> | |||||
<td width="78%" valign="top"><b>Description</b></td> | |||||
<td width="10%" valign="top"><b>Required</b></td> | |||||
<td valign="top"><b>Attribute</b></td> | |||||
<td valign="top"><b>Description</b></td> | |||||
<td valign="top"><b>Required</b></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td valign="top">name</td> | <td valign="top">name</td> | ||||
@@ -272,7 +272,7 @@ Convenience method: | |||||
</loadfile> | </loadfile> | ||||
</pre></blockquote> | </pre></blockquote> | ||||
<p>As of Ant <strong>1.8.3</strong>, a nested | |||||
<p><em>Since Ant 1.8.3</em>, a nested | |||||
<a href="propertyset.html">PropertySet</a> can be specified: | <a href="propertyset.html">PropertySet</a> can be specified: | ||||
<blockquote><pre> | <blockquote><pre> | ||||
@@ -421,10 +421,10 @@ regular expression matching strings. | |||||
<tr> | <tr> | ||||
<td valign="top">regexp</td> | <td valign="top">regexp</td> | ||||
<td valign="top" align="center">Regular expression to be searched for.<br> | <td valign="top" align="center">Regular expression to be searched for.<br> | ||||
<em>Starting with 1.10.2 this also works as an attribute | |||||
on <code>linecontainsregexp</code>, in earlier versions of Ant | |||||
<em>Since Ant 1.10.2</em>, this also works as an attribute | |||||
on <code>linecontainsregexp</code>. In earlier versions of Ant | |||||
you must use a nested element when using the convenience | you must use a nested element when using the convenience | ||||
method.</em> | |||||
method. | |||||
</td> | </td> | ||||
<td valign="top" align="center">Yes</td> | <td valign="top" align="center">Yes</td> | ||||
</tr> | </tr> | ||||
@@ -636,7 +636,7 @@ with <code><uptodate></code> and <code><junit></code> output.</p> | |||||
File mapping is performed by passing the source filename to each nested | File mapping is performed by passing the source filename to each nested | ||||
<code><mapper></code> in turn, returning all results. | <code><mapper></code> in turn, returning all results. | ||||
The <i>to</i> and <i>from</i> attributes are ignored.</p> | The <i>to</i> and <i>from</i> attributes are ignored.</p> | ||||
<p>Starting with Ant 1.8.0 the order of the mapped results is the | |||||
<p><em>Since Ant 1.8.0</em>, the order of the mapped results is the | |||||
same as the order of the nested mappers; prior to Ant 1.8.0 the | same as the order of the nested mappers; prior to Ant 1.8.0 the | ||||
order has been undefined.</p> | order has been undefined.</p> | ||||
<b>Examples:</b> | <b>Examples:</b> | ||||
@@ -129,7 +129,7 @@ | |||||
</task> | </task> | ||||
</pre> | </pre> | ||||
<p> | <p> | ||||
From Ant 1.6.2, elements nested inside a namespaced element may also be | |||||
<em>Since Ant 1.6.2</em>, elements nested inside a namespaced element may also be | |||||
in Ant's default namespace. This means that the following is now allowed: | in Ant's default namespace. This means that the following is now allowed: | ||||
</p> | </p> | ||||
<pre> <typedef resource="org/example/tasks.properties" | <pre> <typedef resource="org/example/tasks.properties" | ||||
@@ -190,20 +190,20 @@ supported. A constant must be specified as <tt>public static</tt> otherwise it c | |||||
This loads the value of the constant <tt>VERSION</tt> of the <tt>org.acme.Main</tt> class | This loads the value of the constant <tt>VERSION</tt> of the <tt>org.acme.Main</tt> class | ||||
into the <tt>version</tt>-property. The classpath for finding that class is provided via | into the <tt>version</tt>-property. The classpath for finding that class is provided via | ||||
nested classpath element. | nested classpath element. | ||||
<pre><code><loadresource property="version"> | |||||
<pre><loadresource property="version"> | |||||
<javaconstant name="org.acme.Main.VERSION"> | <javaconstant name="org.acme.Main.VERSION"> | ||||
<classpath> | <classpath> | ||||
<pathelement location="${acme.lib.dir}"/> | <pathelement location="${acme.lib.dir}"/> | ||||
</classpath> | </classpath> | ||||
</javaconstant> | </javaconstant> | ||||
</loadresource> | </loadresource> | ||||
</code></pre> | |||||
</pre> | |||||
Create a new file <tt>c:/temp/org.apache.tools.ant.Main.DEFAULT_BUILD_FILENAME</tt> with the content | Create a new file <tt>c:/temp/org.apache.tools.ant.Main.DEFAULT_BUILD_FILENAME</tt> with the content | ||||
of that constant (<tt>build.xml</tt>). | of that constant (<tt>build.xml</tt>). | ||||
<pre><code><copy todir="c:/temp"> | |||||
<pre><copy todir="c:/temp"> | |||||
<javaconstant name="org.apache.tools.ant.Main.DEFAULT_BUILD_FILENAME"/> | <javaconstant name="org.apache.tools.ant.Main.DEFAULT_BUILD_FILENAME"/> | ||||
</copy></code></pre> | |||||
</copy></pre> | |||||
<h4 id="zipentry">zipentry</h4> | <h4 id="zipentry">zipentry</h4> | ||||
@@ -791,9 +791,9 @@ platforms. | |||||
<a href="#resources">resources</a> collection.</p> | <a href="#resources">resources</a> collection.</p> | ||||
<h6>Examples</h6> | <h6>Examples</h6> | ||||
<p>Assuming the namespace settings</p> | <p>Assuming the namespace settings</p> | ||||
<pre><code> rsel="antlib:org.apache.tools.ant.types.resources.selectors" | |||||
<pre> rsel="antlib:org.apache.tools.ant.types.resources.selectors" | |||||
rcmp="antlib:org.apache.tools.ant.types.resources.comparators" | rcmp="antlib:org.apache.tools.ant.types.resources.comparators" | ||||
</code></pre> | |||||
</pre> | |||||
<pre> | <pre> | ||||
<restrict> | <restrict> | ||||
<fileset dir="src" includes="a,b,c,d,e,f,g" /> | <fileset dir="src" includes="a,b,c,d,e,f,g" /> | ||||