ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r885686 - /ant/core/trunk/docs/manual/install.html
Date Tue, 01 Dec 2009 08:11:20 GMT
Author: jhm
Date: Tue Dec  1 08:11:20 2009
New Revision: 885686

Update expected output from Ant 1.7.0 to Ant 1.7.1
Add note about expected environment variables


Modified: ant/core/trunk/docs/manual/install.html
--- ant/core/trunk/docs/manual/install.html (original)
+++ ant/core/trunk/docs/manual/install.html Tue Dec  1 08:11:20 2009
@@ -331,10 +331,20 @@
 So Ant works. This message is there because you need to write an individual buildfile for
 project. With a <tt>ant -version</tt> you should get an output like
-Apache Ant version 1.7.0 compiled on December 13 2006
+Apache Ant version 1.7.1 compiled on June 27 2008
+<p>If this does not work ensure your environment variables are set right. They must
resolve to:
+  <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>
+<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
+<b>PATH</b> is set for user convinience. With that set you can just start <i>ant</i>
instead of always typing
 <h3><a name="optionalTasks">Optional Tasks</a></h3>

View raw message