Browse Source

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
master
Conor MacNeill 24 years ago
parent
commit
67252b80d7
2 changed files with 21 additions and 1 deletions
  1. +20
    -0
      docs/manual/install.html
  2. +1
    -1
      src/script/ant.bat

+ 20
- 0
docs/manual/install.html View File

@@ -68,6 +68,26 @@ required to run Ant.


To install Ant, choose a directory and copy the distribution To install Ant, choose a directory and copy the distribution
file there. This directory will be known as ANT_HOME. file there. This directory will be known as ANT_HOME.
<br>

<table width="80%">
<tr>
<td colspan="2">
<b>Windows 95 and Windows 98 Note:</b>
</td>
</tr>
<tr>
<td width="5%">&nbsp;</td>
<td><i>
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 <code>&quot;for&quot;</code>
batch-file statement. It is recommended, therefore, that Ant be
installed in a <b>short</b> path, such as C:\Ant.</i>
</td>
</tr>
</table>
<br>


Before you can run ant there is some additional set up you Before you can run ant there is some additional set up you
will need to do:</p> will need to do:</p>


+ 1
- 1
src/script/ant.bat View File

@@ -81,7 +81,7 @@ if not "%JIKESPATH%" == "" goto runAntWithJikes
goto end goto end


:runAntWithJikes :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 :end
set LOCALCLASSPATH= set LOCALCLASSPATH=


Loading…
Cancel
Save