@@ -26,7 +26,7 @@ | |||||
<h2 id="available">Available</h2> | <h2 id="available">Available</h2> | ||||
<h3>Description</h3> | <h3>Description</h3> | ||||
<p>Sets a property if a resource is available at runtime. This resource can be a file, a directory, | |||||
<p>Sets a property if a resource is available at run time. This resource can be a file, a directory, | |||||
a class in the classpath, or a JVM system resource.</p> | a class in the classpath, or a JVM system resource.</p> | ||||
<p>If the resource is present, the property value is set to <q>true</q> by default; otherwise, the | <p>If the resource is present, the property value is set to <q>true</q> by default; otherwise, the | ||||
property is not set. You can set the value to something other than the default by specifying | property is not set. You can set the value to something other than the default by specifying | ||||
@@ -28,7 +28,7 @@ | |||||
<p><em>Since Ant 1.8.2</em></p> | <p><em>Since Ant 1.8.2</em></p> | ||||
<h3>Description</h3> | <h3>Description</h3> | ||||
<p>This task is provided for the purpose of allowing the user to install a different ProjectHelper | <p>This task is provided for the purpose of allowing the user to install a different ProjectHelper | ||||
at runtime.</p> | |||||
at run time.</p> | |||||
<p>The helpers will be added after all the already registered helpers, but before the default one | <p>The helpers will be added after all the already registered helpers, but before the default one | ||||
(<code>ProjectHelper2</code>)</p> | (<code>ProjectHelper2</code>)</p> | ||||
<p>See the description of Apache Ant's <a href="../projecthelper.html">Project Helper</a> for more | <p>See the description of Apache Ant's <a href="../projecthelper.html">Project Helper</a> for more | ||||
@@ -28,7 +28,7 @@ | |||||
<p><em>Since Ant 1.8.0</em></p> | <p><em>Since Ant 1.8.0</em></p> | ||||
<h3>Description</h3> | <h3>Description</h3> | ||||
<p>This task is provided for the purpose of allowing the user to <strong>(a)</strong> install a | <p>This task is provided for the purpose of allowing the user to <strong>(a)</strong> install a | ||||
different <code>PropertyHelper</code> at runtime, or <strong>(b)</strong> (hopefully more often) | |||||
different <code>PropertyHelper</code> at run time, or <strong>(b)</strong> (hopefully more often) | |||||
install one or more <code class="code">PropertyHelper</code> Delegates into | install one or more <code class="code">PropertyHelper</code> Delegates into | ||||
the <code class="code">PropertyHelper</code> active on the | the <code class="code">PropertyHelper</code> active on the | ||||
current <code class="code">Project</code>. This is somewhat advanced Apache Ant usage and assumes a | current <code class="code">Project</code>. This is somewhat advanced Apache Ant usage and assumes a | ||||
@@ -229,8 +229,8 @@ either while running Java 11+ unless you fork the task and explicitly specify an | |||||
parent directory for any source files AND the output directory.</li> | parent directory for any source files AND the output directory.</li> | ||||
<li><var>destdir</var> can be used to specify the output directory, allowing for <var>base</var> | <li><var>destdir</var> can be used to specify the output directory, allowing for <var>base</var> | ||||
to be used as the parent directory for any source files.</li> | to be used as the parent directory for any source files.</li> | ||||
<li>At least one of either <var>base</var> or <var>destdir</var> must be specified and exist, or a | |||||
runtime error will occur.</li> | |||||
<li>At least one of either <var>base</var> or <var>destdir</var> must be specified and exist, or | |||||
an error will occur at run time.</li> | |||||
</ul> | </ul> | ||||
<h3>Parameters specified as nested elements</h3> | <h3>Parameters specified as nested elements</h3> | ||||
@@ -96,18 +96,18 @@ one doesn't really matter to Ant, using all lower case is a good convention, tho | |||||
actual <em>addConfigured</em> method is not called.</li> | actual <em>addConfigured</em> method is not called.</li> | ||||
<li>All attributes of this task get set via their corresponding <code class="code">setXXX()</code> | <li>All attributes of this task get set via their corresponding <code class="code">setXXX()</code> | ||||
methods, at runtime.</li> | |||||
methods, at run time.</li> | |||||
<li>The content character data sections inside the XML element corresponding to this task is added | <li>The content character data sections inside the XML element corresponding to this task is added | ||||
to the task via its <code class="code">addText()</code> method, at runtime.</li> | |||||
to the task via its <code class="code">addText()</code> method, at run time.</li> | |||||
<li>All attributes of all child elements get set via their | <li>All attributes of all child elements get set via their | ||||
corresponding <code class="code">setXXX()</code> methods, at runtime.</li> | |||||
corresponding <code class="code">setXXX()</code> methods, at run time.</li> | |||||
<li>If child elements of the XML element corresponding to this task have been created | <li>If child elements of the XML element corresponding to this task have been created | ||||
for <code class="code">addConfiguredXXX()</code> methods, those methods get invoked now.</li> | for <code class="code">addConfiguredXXX()</code> methods, those methods get invoked now.</li> | ||||
<li id="execute"><code class="code">execute()</code> is called at runtime. If <q>target1</q> | |||||
<li id="execute"><code class="code">execute()</code> is called at run time. If <q>target1</q> | |||||
and <q>target2</q> both depend on <q>target3</q>, then running <kbd>ant target1 target2</kbd> | and <q>target2</q> both depend on <q>target3</q>, then running <kbd>ant target1 target2</kbd> | ||||
will run all tasks in <q>target3</q> twice.</li> | will run all tasks in <q>target3</q> twice.</li> | ||||
</ol> | </ol> | ||||
@@ -26,7 +26,7 @@ | |||||
<h1>Properties</h1> | <h1>Properties</h1> | ||||
<p>Properties are key-value pairs where Apache Ant tries to expand <code>${key}</code> | <p>Properties are key-value pairs where Apache Ant tries to expand <code>${key}</code> | ||||
to <code>value</code> at runtime.</p> | |||||
to <code>value</code> at run time.</p> | |||||
<p>There are many tasks that can set properties, the most common one is | <p>There are many tasks that can set properties, the most common one is | ||||
the <a href="Tasks/property.html">property</a> task. In addition properties can be defined | the <a href="Tasks/property.html">property</a> task. In addition properties can be defined | ||||
@@ -854,7 +854,7 @@ documentation.</p> | |||||
<td><a href="Tasks/available.html">Available</a></td> | <td><a href="Tasks/available.html">Available</a></td> | ||||
<td><p>Sets a property if a specified file, directory, class in | <td><p>Sets a property if a specified file, directory, class in | ||||
the classpath, or JVM system resource is available at | the classpath, or JVM system resource is available at | ||||
runtime.</p></td> | |||||
run time.</p></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||