From 6bc649071c94d4f49b43c0e4e00d362ecb13df68 Mon Sep 17 00:00:00 2001
From: Jan Materne
Date: Tue, 1 Dec 2009 08:11:20 +0000
Subject: [PATCH] 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
---
docs/manual/install.html | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/docs/manual/install.html b/docs/manual/install.html
index 661d8b50b..052a5c3d2 100644
--- a/docs/manual/install.html
+++ b/docs/manual/install.html
@@ -331,10 +331,20 @@ Build failed
So Ant works. This message is there because you need to write an individual buildfile for your
project. With a ant -version 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
-
-
+
+If this does not work ensure your environment variables are set right. They must resolve to:
+
+ - required: %ANT_HOME%\bin\ant.bat
+ - optional: %JAVA_HOME%\bin\java.exe
+ - required: %PATH%=...maybe-other-entries...;%ANT_HOME%\bin;...maybe-other-entries...
+
+ANT_HOME is used by the launcher script for finding the libraries.
+JAVA_HOME 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.
+PATH is set for user convinience. With that set you can just start ant instead of always typing
+the/complete/path/to/your/ant/installation/bin/ant.