jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@locus.apache.org
Subject cvs commit: jakarta-watchdog/src/bin runtest.bat
Date Fri, 18 Feb 2000 03:04:44 GMT
arun        00/02/17 19:04:44

  Modified:    src/bin  runtest.bat
  Log:
  Transitioning to non-moo framework.
      - execute tests using new test harness.
  
  Revision  Changes    Path
  1.8       +13 -3     jakarta-watchdog/src/bin/runtest.bat
  
  Index: runtest.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/bin/runtest.bat,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- runtest.bat	2000/02/14 02:41:55	1.7
  +++ runtest.bat	2000/02/18 03:04:44	1.8
  @@ -1,5 +1,5 @@
   @echo off
  -rem $Id: runtest.bat,v 1.7 2000/02/14 02:41:55 rubys Exp $
  +rem $Id: runtest.bat,v 1.8 2000/02/18 03:04:44 arun Exp $
   rem Startup batch file for servlet runner.
   
   rem This batch file written and tested under Windows NT
  @@ -39,7 +39,10 @@
   
   :run
   set TOMCAT_HOME=..\tomcat
  +SET _ANTHOME=%ANT_HOME%
  +if "%ANT_HOME%" == "" SET ANT_HOME=..\jakarta-ant
   
  +
   rem THIS PART INCLUDED from jakarta-tomcat/src/shell/tomcatEnv.bat
   rem -------------------------- begin tomcatEnv.bat -----------------------------
   set TOM_CLASSPATH=.
  @@ -49,6 +52,7 @@
   set TOM_CLASSPATH=%TOMCAT_HOME%\lib\xml.jar;%TOM_CLASSPATH%
   set TOM_CLASSPATH=%TOMCAT_HOME%\webpages\WEB-INF\classes\jsp\beans;%TOM_CLASSPATH%
   set TOM_CLASSPATH=%TOMCAT_HOME%\classes;%TOM_CLASSPATH%
  +set TOM_CLASSPATH=%TOMCAT_HOME%\lib\ant.jar;%TOM_CLASSPATH%
   
   set TOM_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%TOM_CLASSPATH%
   
  @@ -67,14 +71,18 @@
   :otherserver
   
   if "%default%"=="servlet" goto servlet
  +
  +rem java -Dtest.hostName=%host% -Dtest.port=%port% org.apache.tools.moo.Main -testfile
%jtest%
   
  -java -Dtest.hostName=%host% -Dtest.port=%port% org.apache.tools.moo.Main -testfile %jtest%
  +rem test jsp using non-moo framework
  +%TOMCAT_HOME%/ant -Dwatchdog.home %WATCHDOG_HOME% -f conf/jsp.xml jsp-test
   
   if "%default%"=="all" goto servlet
   goto shutdown
   
   :servlet
  -java -Dtest.hostName=%host% -Dtest.port=%port% org.apache.tools.moo.Main -testfile %stest%
  +rem java -Dtest.hostName=%host% -Dtest.port=%port% org.apache.tools.moo.Main -testfile
%stest%
  +%TOMCAT_HOME%/ant -Dwatchdog.home $WATCHDOG_HOME -f conf/servlet.xml servlet-test
   
   :shutdown
   rem Only shutdown Tomcat if no host and port parameters have been specified
  @@ -96,5 +104,7 @@
   set appJars=
   set appClassPath=
   set cp=
  +SET ANT_HOME=%_ANTHOME%
  +SET _ANTHOME=
   
   rem pause
  
  
  

Mime
View raw message