commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patri...@apache.org
Subject cvs commit: jakarta-commons-sandbox/daemon/src/bin launch-ant.bat
Date Wed, 28 Aug 2002 22:50:44 GMT
patrickl    2002/08/28 15:50:44

  Modified:    daemon/src/bin launch-ant.bat
  Log:
  Append %PATH% only for Windows 9x platforms since it is unnecessary for later Windows platforms.
Also, add ";." onto %PATH% since a "\" character at the end of the classpath argument will
confuse the JVM.
  
  Revision  Changes    Path
  1.3       +7 -1      jakarta-commons-sandbox/daemon/src/bin/launch-ant.bat
  
  Index: launch-ant.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/daemon/src/bin/launch-ant.bat,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- launch-ant.bat	23 Jul 2002 23:32:23 -0000	1.2
  +++ launch-ant.bat	28 Aug 2002 22:50:44 -0000	1.3
  @@ -34,7 +34,13 @@
   goto setArgs
   :doneSetArgs
   
  +rem Set classpath to handle when %0 does not contain any path
  +set PRG_CLASSPATH=%PRG%\..
  +if "%OS%" == "Windows_NT" goto gotClasspath
  +set PRG_CLASSPATH=%PRG_CLASSPATH%;"%PATH%;."
  +:gotClasspath
  +
   rem Execute the Launcher using the "ant" target
  -"%JAVA_HOME%\bin\java.exe" -classpath %PRG%\..;"%PATH%" LauncherBootstrap -verbose ant
%CMD_LINE_ARGS%
  +"%JAVA_HOME%\bin\java.exe" -classpath %PRG_CLASSPATH% LauncherBootstrap -verbose ant %CMD_LINE_ARGS%
   
   :end
  
  
  

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


Mime
View raw message