ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
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

URL: http://svn.apache.org/viewvc?rev=885686&view=rev
Log:
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

Modified: ant/core/trunk/docs/manual/install.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/install.html?rev=885686&r1=885685&r2=885686&view=diff
==============================================================================
--- 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
your 
 project. With a <tt>ant -version</tt> you should get an output like
 <pre>
-Apache Ant version 1.7.0 compiled on December 13 2006
+Apache Ant version 1.7.1 compiled on June 27 2008
 </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>
 
 <h3><a name="optionalTasks">Optional Tasks</a></h3>



Mime
View raw message