cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: cocoon-2.1/tools/bin ant.bat
Date Sat, 20 Dec 2003 03:11:57 GMT
antonio     2003/12/19 19:11:57

  Modified:    tools/bin ant.bat
  Log:
  Fixing ant.bat
  
  Revision  Changes    Path
  1.3       +2 -1      cocoon-2.1/tools/bin/ant.bat
  
  Index: ant.bat
  ===================================================================
  RCS file: /home/cvs//cocoon-2.1/tools/bin/ant.bat,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ant.bat	19 Dec 2003 14:01:33 -0000	1.2
  +++ ant.bat	20 Dec 2003 03:11:57 -0000	1.3
  @@ -4,6 +4,7 @@
   REM   reserved.
   
   if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
  +set ANT_VERSION=1.6.0
   
   if "%OS%"=="Windows_NT" @setlocal
   
  @@ -29,7 +30,7 @@
   :doneStart
   rem find ANT_HOME if it does not exist due to either an invalid value passed
   rem by the user or the %0 problem on Windows 9x
  -if exist "%ANT_HOME%\lib\ant.jar" goto checkJava
  +if exist "%ANT_HOME%\lib\ant-%ANT_VERSION%.jar" goto checkJava
   
   rem check for ant in Program Files
   if not exist "%ProgramFiles%\ant" goto checkSystemDrive
  
  
  

Mime
View raw message