You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ar...@locus.apache.org on 2000/02/18 22:04:16 UTC

cvs commit: jakarta-tomcat/src/shell watchdog.bat

arun        00/02/18 13:04:15

  Added:       src/shell watchdog.bat
  Log:
  Script for executing watchdog tests.
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat/src/shell/watchdog.bat
  
  Index: watchdog.bat
  ===================================================================
  @echo off
  
  SET WATCHDOG_HOME=..\watchdog
  
  set TOM_PREV_CLASSPATH=%CLASSPATH%
  
  SET CLASSPATH=lib\ant.jar;%CLASSPATH%
  CALL bin\tomcat env
  SET CLASSPATH=.\lib\moo.jar;%CLASSPATH%
  SET CLASSPATH=%WATCHDOG_HOME%\lib\client.jar;%CLASSPATH%
  
  
  echo "using classpath=" %CLASSPATH%
  if "%1"=="servlet" goto servlet
  
  java org.apache.tools.ant.Main -Dwatchdog.home %WATCHDOG_HOME% -f %WATCHDOG_HOME%/conf/jsp.xml jsp-test
  
  if "%1"=="jsp" goto restore
  
  :servlet
  java org.apache.tools.ant.Main -Dwatchdog.home %WATCHDOG_HOME% -f %WATCHDOG_HOME%/conf/servlet.xml servlet-test
  
  :restore
  set CLASSPATH=%TOM_PREV_CLASSPATH%