Browse Source

Update expected output from Ant 1.7.0 to Ant 1.7.1

Add note about expected environment variables

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@885686 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 15 years ago
parent
commit
6bc649071c
1 changed files with 13 additions and 3 deletions
  1. +13
    -3
      docs/manual/install.html

+ 13
- 3
docs/manual/install.html View File

@@ -331,10 +331,20 @@ Build failed
So Ant works. This message is there because you need to write an individual buildfile for your So Ant works. This message is there because you need to write an individual buildfile for your
project. With a <tt>ant -version</tt> you should get an output like project. With a <tt>ant -version</tt> you should get an output like
<pre> <pre>
Apache Ant version 1.7.0 compiled on December 13 2006
Apache Ant version 1.7.1 compiled on June 27 2008
</pre> </pre>


</p>
<p>If this does not work ensure your environment variables are set right. They must resolve to:
<ul>
<li>required: %ANT_HOME%\bin\ant.bat</li>
<li>optional: %JAVA_HOME%\bin\java.exe</li>
<li>required: %PATH%=...<i>maybe-other-entries</i>...;%ANT_HOME%\bin;...<i>maybe-other-entries</i>...</li>
</ul>
<b>ANT_HOME</b> is used by the launcher script for finding the libraries.
<b>JAVA_HOME</b> is used by the launcher for finding the JDK/JRE to use. (JDK is recommended as some tasks
require the java tools.) If not set, the launcher tries to find one via the %PATH% environment variable.
<b>PATH</b> is set for user convinience. With that set you can just start <i>ant</i> instead of always typing
<i>the/complete/path/to/your/ant/installation/bin/ant</i>.
</p> </p>


<h3><a name="optionalTasks">Optional Tasks</a></h3> <h3><a name="optionalTasks">Optional Tasks</a></h3>


Loading…
Cancel
Save