tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/shell watchdog.bat
Date Fri, 18 Feb 2000 21:04:16 GMT
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%
  
  
  
  

Mime
View raw message