ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Prouvost <olivier.prouv...@anyware-tech.com>
Subject A little problem in ant.bat
Date Thu, 17 May 2001 08:01:47 GMT

Hello,


I use ant 1.3 on linux... but one of my colleague (who works with
windows 2000), inform me of a problem in the ant.bat script file.

In fact, this problem appears, when the JDK is installed in a directory
named with spaces (such as Program Files).

In this case, the _JAVACMD command should be initialized with double
quotes :

< if "%_JAVACMD%" == "" set _JAVACMD="%JAVA_HOME%\bin\java"
---
> if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java


I join the corrected patch.

Could you please take it into account in the next release ?

Thanks.

--
--------------------------------------------
  Olivier Prouvost     Anyware Technologies
  Tel : 05 61 00 52 90 Fax : 05 61 00 51 46
  Web : http://www.anyware-tech.com
--------------------------------------------



Mime
View raw message