git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278213 13f79535-47bb-0310-9956-ffa450edef68master
@@ -106,7 +106,7 @@ For example: | |||||
<code>/test/**</code> matches all files/directories under <code>/test/</code>, | <code>/test/**</code> matches all files/directories under <code>/test/</code>, | ||||
such as <code>/test/x.java</code>, | such as <code>/test/x.java</code>, | ||||
or <code>/test/foo/bar/xyz.html</code>, but not <code>/xyz.xml</code>.</p> | or <code>/test/foo/bar/xyz.html</code>, but not <code>/xyz.xml</code>.</p> | ||||
<p>There is one "shorthand" - if a pattern ends | |||||
<p>There is one "shorthand": if a pattern ends | |||||
with <code>/</code> | with <code>/</code> | ||||
or <code>\</code>, then <code>**</code> | or <code>\</code>, then <code>**</code> | ||||
is appended. | is appended. | ||||
@@ -128,7 +128,7 @@ will need to do:</p> | |||||
<li>Set the <code>ANT_HOME</code> environment variable to the | <li>Set the <code>ANT_HOME</code> environment variable to the | ||||
directory where you installed Ant. On some operating systems the ant | directory where you installed Ant. On some operating systems the ant | ||||
wrapper scripts can guess <code>ANT_HOME</code> (Unix dialects and | wrapper scripts can guess <code>ANT_HOME</code> (Unix dialects and | ||||
Windows NT/2000) - but it is better to not rely on this behavior.</li> | |||||
Windows NT/2000), but it is better to not rely on this behavior.</li> | |||||
<li>Optionally, set the <code>JAVA_HOME</code> environment variable | <li>Optionally, set the <code>JAVA_HOME</code> environment variable | ||||
(see the <a href="#advanced">Advanced</a> section below). | (see the <a href="#advanced">Advanced</a> section below). | ||||
This should be set to the directory where your JDK is installed.</li> | This should be set to the directory where your JDK is installed.</li> | ||||
@@ -370,8 +370,8 @@ you need jakarta-oro 2.0.1 or later, and <a href="#commons-net">commons-net</a>< | |||||
<tr> | <tr> | ||||
<td>js.jar</td> | <td>js.jar</td> | ||||
<td>Javascript with script task<br> | <td>Javascript with script task<br> | ||||
If you use Apache BSF 2.3.0-rc1, you must use rhino 1.5R3 - later | |||||
versions of BSF work with 1.5R4 as well.</td> | |||||
If you use Apache BSF 2.3.0-rc1, you must use rhino 1.5R3 (later | |||||
versions of BSF work with 1.5R4 as well).</td> | |||||
<td><a href="http://www.mozilla.org/rhino/" target="_top">http://www.mozilla.org/rhino/</a></td> | <td><a href="http://www.mozilla.org/rhino/" target="_top">http://www.mozilla.org/rhino/</a></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -39,7 +39,7 @@ Task interface.</p> | |||||
<p>Granted, this removes some of the expressive power that is inherent in being | <p>Granted, this removes some of the expressive power that is inherent in being | ||||
able to construct a shell command such as | able to construct a shell command such as | ||||
<nobr><code>`find . -name foo -exec rm {}`</code></nobr>, but it | <nobr><code>`find . -name foo -exec rm {}`</code></nobr>, but it | ||||
gives you the ability to be cross-platform - to work anywhere and | |||||
gives you the ability to be cross-platform--to work anywhere and | |||||
everywhere. And | everywhere. And | ||||
hey, if you really need to execute a shell command, Ant has an | hey, if you really need to execute a shell command, Ant has an | ||||
<code><exec></code> task that | <code><exec></code> task that | ||||
@@ -334,7 +334,7 @@ developers.</p> | |||||
<p>Notes:</p> | <p>Notes:</p> | ||||
<ul> | <ul> | ||||
<li>A listener or logger should not write to standard output or error - Ant | |||||
<li>A listener or logger should not write to standard output or error; Ant | |||||
captures these internally and may cause an infinite loop.</li> | captures these internally and may cause an infinite loop.</li> | ||||
</ul> | </ul> | ||||
@@ -45,7 +45,7 @@ the value specified on the | |||||
command line will override the value specified in the | command line will override the value specified in the | ||||
build file. | build file. | ||||
Defining properties on the command line can also be used to pass in | Defining properties on the command line can also be used to pass in | ||||
the value of environment variables - just pass | |||||
the value of environment variables; just pass | |||||
<nobr><code>-DMYVAR=%MYVAR%</code></nobr> (Windows) or | <nobr><code>-DMYVAR=%MYVAR%</code></nobr> (Windows) or | ||||
<nobr><code>-DMYVAR=$MYVAR</code></nobr> (Unix) | <nobr><code>-DMYVAR=$MYVAR</code></nobr> (Unix) | ||||
to Ant. You can then access | to Ant. You can then access | ||||
@@ -53,7 +53,7 @@ the other form of compromise where the build runner has priority. | |||||
</table> | </table> | ||||
<p><em>Since Ant 1.7</em> the value of this property also affects the | <p><em>Since Ant 1.7</em> the value of this property also affects the | ||||
bootclasspath settings - it combines the bootclasspath that has been | |||||
bootclasspath settings--it combines the bootclasspath that has been | |||||
specified for a task with the bootclasspath of the Java VM running | specified for a task with the bootclasspath of the Java VM running | ||||
Ant. If the property has not been set, it defaults to "ignore" in | Ant. If the property has not been set, it defaults to "ignore" in | ||||
this case.</p> | this case.</p> | ||||
@@ -986,7 +986,7 @@ documentation.</p> | |||||
<tr valign="top"> | <tr valign="top"> | ||||
<td nowrap><a href="CoreTasks/condition.html">Condition</a></td> | <td nowrap><a href="CoreTasks/condition.html">Condition</a></td> | ||||
<td><p>Sets a property if a certain condition holds true - this is a | |||||
<td><p>Sets a property if a certain condition holds true; this is a | |||||
generalization of <a href="CoreTasks/available.html">Available</a> and | generalization of <a href="CoreTasks/available.html">Available</a> and | ||||
<a href="CoreTasks/uptodate.html">Uptodate</a>.</p></td> | <a href="CoreTasks/uptodate.html">Uptodate</a>.</p></td> | ||||
</tr> | </tr> | ||||