jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@locus.apache.org
Subject cvs commit: jakarta-watchdog/src/bin runtest.bat
Date Sun, 02 Jul 2000 11:55:19 GMT
rubys       00/07/02 04:55:19

  Modified:    src/bin  runtest.bat
  Log:
  Simplify running Watchdog from the dist directories
  (Unix equivalent updates forthcoming)
  
  Revision  Changes    Path
  1.11      +8 -4      jakarta-watchdog/src/bin/runtest.bat
  
  Index: runtest.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/bin/runtest.bat,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- runtest.bat	2000/06/30 00:52:21	1.10
  +++ runtest.bat	2000/07/02 11:55:17	1.11
  @@ -17,13 +17,17 @@
   :gotWatchdogHome
   
   if not "%TOMCAT_HOME%" == "" goto gotTomcatHome
  -set TOMCAT_HOME=%WATCHDOG_HOME%\..\tomcat
  +if exist %WATCHDOG_HOME%\..\tomcat set TOMCAT_HOME=%WATCHDOG_HOME%\..\tomcat
  +if exist %WATCHDOG_HOME%\..\jakartatomcat set TOMCAT_HOME=%WATCHDOG_HOME%\..\jakartatomcat
   :gotTomcatHome
   
   set TOM_PREV_CLASSPATH=%CLASSPATH%
   
  -SET CLASSPATH=%TOMCAT_HOME%\classes;%CLASSPATH%
  -SET CLASSPATH=%TOMCAT_HOME%\lib\servlet.jar;%CLASSPATH%
  +if exist %TOMCAT_HOME%\classes SET CLASSPATH=%TOMCAT_HOME%\classes;%CLASSPATH%
  +if exist %TOMCAT_HOME%\lib\servlet.jar SET CLASSPATH=%TOMCAT_HOME%\lib\servlet.jar;%CLASSPATH%
  +if exist %TOMCAT_HOME%\lib\jasper.jar SET CLASSPATH=%TOMCAT_HOME%\lib\jasper.jar;%CLASSPATH%
  +SET CLASSPATH=%TOMCAT_HOME%\lib\webserver.jar;%CLASSPATH%
  +
   SET CLASSPATH=%WATCHDOG_HOME%\lib\moo.jar;%CLASSPATH%
   SET CLASSPATH=%WATCHDOG_HOME%\lib\testdriver.jar;%CLASSPATH%
   SET CLASSPATH=%WATCHDOG_HOME%\lib\client.jar;%CLASSPATH%
  @@ -53,6 +57,6 @@
   goto end
   
   :exit
  -echo usage: %0 {all/jsp/servlet} [serverhost] [serverport] 
  +echo usage: %0 {all/jsp/servlet} [serverhost] [serverport]
   
   :end
  
  
  

Mime
View raw message