From 67252b80d74071799ab21523e312d0dc98f5f949 Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Sun, 8 Jul 2001 04:56:53 +0000 Subject: [PATCH] Handle spaces in JikesPath. Add warning not to use Longfilenames for ANT_HOME on Win9X PR: 1957 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269292 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/install.html | 20 ++++++++++++++++++++ src/script/ant.bat | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/manual/install.html b/docs/manual/install.html index c6b0e5f6b..c82360976 100644 --- a/docs/manual/install.html +++ b/docs/manual/install.html @@ -68,6 +68,26 @@ required to run Ant. To install Ant, choose a directory and copy the distribution file there. This directory will be known as ANT_HOME. +
+ + + + + + + + + +
+ Windows 95 and Windows 98 Note: +
  +On these systems, the script used to launch Ant will have +problems if ANT_HOME is a long filename. This is due to +limitations in the OS's handling of the "for" +batch-file statement. It is recommended, therefore, that Ant be +installed in a short path, such as C:\Ant. +
+
Before you can run ant there is some additional set up you will need to do:

diff --git a/src/script/ant.bat b/src/script/ant.bat index 0e4a5c0bc..87f6b0469 100755 --- a/src/script/ant.bat +++ b/src/script/ant.bat @@ -81,7 +81,7 @@ if not "%JIKESPATH%" == "" goto runAntWithJikes goto end :runAntWithJikes -"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" -Dant.home="%ANT_HOME%" -Djikes.class.path=%JIKESPATH% %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS% +"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" -Dant.home="%ANT_HOME%" -Djikes.class.path="%JIKESPATH%" %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS% :end set LOCALCLASSPATH=