jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sant...@locus.apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/bin watchdog.bat
Date Fri, 01 Dec 2000 01:16:38 GMT
santosh     00/11/30 17:16:38

  Modified:    src/bin  watchdog.bat
  Log:
  dirty fix for running the tests on windows
  
  Revision  Changes    Path
  1.2       +21 -2     jakarta-watchdog-4.0/src/bin/watchdog.bat
  
  Index: watchdog.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/bin/watchdog.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- watchdog.bat	2000/10/03 22:29:55	1.1
  +++ watchdog.bat	2000/12/01 01:16:37	1.2
  @@ -24,9 +24,28 @@
   echo "using classpath=" %CLASSPATH%
   if "%1"=="servlet" goto servlet
   
  +if "%1"=="jsp" goto jsp
  +if "%1"=="jsp-xml" goto jsp-xml
  +if "%1"=="jsp-all" goto jsp-all
  +if "%1"=="all" goto jsp-all
  +
  +
  +:jsp
  +java org.apache.tools.ant.Main -Dport %PORT% -Dhost %HOST% -Dwatchdog.home %WATCHDOG_HOME%
-f %WATCHDOG_HOME%/conf/jsp-gtest.xml jsp-test
  +goto restore
  +
  +:jsp-xml
  +if "%TOMCAT_HOME%=="" goto exit
  +java -DJSP_ROOT %TOMCAT_HOME%\webapps\jsp-tests\jsp -DWATCHDOG_HOME$ %WATCHDOG_HOME% org.apache.jspxml.GetWorkspaceInXML
  +java org.apache.tools.ant.Main -Dport %PORT% -Dhost %HOST% -Dwatchdog.home %WATCHDOG_HOME%
-f %WATCHDOG_HOME%/conf/jsp-gtest-xml.xml jsp-test
  +goto restore
  +
  +:jsp-all
   java org.apache.tools.ant.Main -Dport %PORT% -Dhost %HOST% -Dwatchdog.home %WATCHDOG_HOME%
-f %WATCHDOG_HOME%/conf/jsp-gtest.xml jsp-test
   
  -if "%1"=="jsp" goto restore
  +if "%TOMCAT_HOME%=="" goto exit
  +java -DJSP_ROOT %TOMCAT_HOME%\webapps\jsp-tests\jsp -DWATCHDOG_HOME$ %WATCHDOG_HOME% org.apache.jspxml.GetWorkspaceInXML
  +java org.apache.tools.ant.Main -Dport %PORT% -Dhost %HOST% -Dwatchdog.home %WATCHDOG_HOME%
-f %WATCHDOG_HOME%/conf/jsp-gtest-xml.xml jsp-test
   
   :servlet
   java org.apache.tools.ant.Main -Dport %PORT% -Dhost %HOST% -Dwatchdog.home %WATCHDOG_HOME%
-f %WATCHDOG_HOME%/conf/servlet-moo.xml servlet-test
  @@ -41,6 +60,6 @@
   goto end
   
   :exit
  -echo usage: %0 {all/jsp/servlet} [serverhost] [serverport] 
  +echo usage: %0 {all/jsp/jsp-xml/jsp-all/servlet} [serverhost] [serverport] 
   
   :end
  
  
  

Mime
View raw message