ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/script ant.bat
Date Fri, 30 Aug 2002 12:30:47 GMT
sbailliez    2002/08/30 05:30:47

  Modified:    src/script Tag: ANT_15_BRANCH ant.bat
  Log:
  Add quotes when %JAVA_HOME% contains spaces
  Submitted by: Patrick Luby <patrick.luby@sun.com>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.18.2.3  +2 -2      jakarta-ant/src/script/ant.bat
  
  Index: ant.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/script/ant.bat,v
  retrieving revision 1.18.2.2
  retrieving revision 1.18.2.3
  diff -u -r1.18.2.2 -r1.18.2.3
  --- ant.bat	22 Aug 2002 19:25:06 -0000	1.18.2.2
  +++ ant.bat	30 Aug 2002 12:30:47 -0000	1.18.2.3
  @@ -59,8 +59,8 @@
   if "%JAVA_HOME%" == "" goto noJavaHome
   if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
   set _JAVACMD=%JAVA_HOME%\bin\java.exe
  -if exist "%JAVA_HOME%\lib\tools.jar" call "%ANT_HOME%\bin\lcp.bat" %JAVA_HOME%\lib\tools.jar
  -if exist "%JAVA_HOME%\lib\classes.zip" call "%ANT_HOME%\bin\lcp.bat" %JAVA_HOME%\lib\classes.zip
  +if exist "%JAVA_HOME%\lib\tools.jar" call "%ANT_HOME%\bin\lcp.bat" "%JAVA_HOME%\lib\tools.jar"
  +if exist "%JAVA_HOME%\lib\classes.zip" call "%ANT_HOME%\bin\lcp.bat" "%JAVA_HOME%\lib\classes.zip"
   goto checkJikes
   
   :noJavaHome
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message