ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/myrmidon/src/script ant.bat
Date Tue, 21 May 2002 01:49:41 GMT
donaldp     02/05/20 18:49:41

  Modified:    myrmidon/src/script ant.bat
  Log:
  ANT_HOME --> MYRMIDON_HOME
  
  Revision  Changes    Path
  1.2       +8 -8      jakarta-ant-myrmidon/myrmidon/src/script/ant.bat
  
  Index: ant.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/myrmidon/src/script/ant.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ant.bat	19 Apr 2002 12:13:30 -0000	1.1
  +++ ant.bat	21 May 2002 01:49:41 -0000	1.2
  @@ -5,26 +5,26 @@
   if not "%OS%"=="Windows_NT" goto start
   
   rem %~dp0 is name of current script under NT
  -set DEFAULT_ANT_HOME=%~dp0
  +set DEFAULT_MYRMIDON_HOME=%~dp0
   
   rem : operator works similar to make : operator
  -set DEFAULT_ANT_HOME=%DEFAULT_ANT_HOME:\bin\=%
  +set DEFAULT_MYRMIDON_HOME=%DEFAULT_MYRMIDON_HOME:\bin\=%
   
  -if "%ANT_HOME%"=="" set ANT_HOME=%DEFAULT_ANT_HOME%
  -set DEFAULT_ANT_HOME=
  +if "%MYRMIDON_HOME%"=="" set MYRMIDON_HOME=%DEFAULT_MYRMIDON_HOME%
  +set DEFAULT_MYRMIDON_HOME=
   
   :start
   
  -if not "%ANT_HOME%" == "" goto ant_home_found
  +if not "%MYRMIDON_HOME%" == "" goto MYRMIDON_HOME_found
   
   echo.
  -echo Warning: ANT_HOME environment variable is not set.
  +echo Warning: MYRMIDON_HOME environment variable is not set.
   echo   This needs to be set for Win9x as it's command prompt 
   echo   scripting bites
   echo.
   goto end
   
  -:ant_home_found
  +:MYRMIDON_HOME_found
   
   if not "%JAVA_HOME%" == "" goto javaCmdSetup
   
  @@ -50,7 +50,7 @@
   :doneArgs
   rem Mmmmmm tasty - finished slurping args
   
  -%JAVACMD% %ANT_OPTS% -jar %ANT_HOME%\bin\myrmidon-launcher.jar %ANT_CMD_LINE_ARGS%
  +%JAVACMD% %ANT_OPTS% -jar %MYRMIDON_HOME%\bin\myrmidon-launcher.jar %ANT_CMD_LINE_ARGS%
   
   :end
   if exist "%HOME%\antrc_post.bat" call "%HOME%\antrc_post.bat"
  
  
  

--
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