tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/shell test-tomcat.bat test-tomcat.sh
Date Sun, 13 Feb 2000 11:00:34 GMT
rubys       00/02/13 03:00:34

  Modified:    src/etc  test-tomcat.xml
               src/shell test-tomcat.sh
  Added:       src/shell test-tomcat.bat
  Log:
  Add a test-tomcat on Windows, default tomcat-home, allow specification of
  the target to be run (default being to run both client and server)
  
  Revision  Changes    Path
  1.4       +1 -0      jakarta-tomcat/src/etc/test-tomcat.xml
  
  Index: test-tomcat.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/test-tomcat.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- test-tomcat.xml	2000/02/13 02:58:55	1.3
  +++ test-tomcat.xml	2000/02/13 11:00:33	1.4
  @@ -3,6 +3,7 @@
      <target name="init">
        <property name="host" value="localhost" />
        <property name="port"     value="8080" />
  +     <property name="tomcat.home" value="." />
        <property name="gdir" value="${tomcat.home}/lib/test/Golden" />
   
        <taskdef name="gtest" class="org.apache.tomcat.task.GTest" />
  
  
  
  1.2       +1 -1      jakarta-tomcat/src/shell/test-tomcat.sh
  
  Index: test-tomcat.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/shell/test-tomcat.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- test-tomcat.sh	2000/01/26 22:59:59	1.1
  +++ test-tomcat.sh	2000/02/13 11:00:33	1.2
  @@ -3,4 +3,4 @@
   # set tomcat env 
   . bin/tomcat.sh env
   
  -ant -Dtomcat.home $TOMCAT_HOME -f conf/test-tomcat.xml client 
  +ant -Dtomcat.home $TOMCAT_HOME -f conf/test-tomcat.xml $@ 
  
  
  
  1.1                  jakarta-tomcat/src/shell/test-tomcat.bat
  
  Index: test-tomcat.bat
  ===================================================================
  @echo off
  
  set TOM_PREV_CLASSPATH=%CLASSPATH%
  
  if "%TOMCAT_HOME%" == "" goto bin
  SET CLASSPATH=%TOMCAT_HOME%\lib\ant.jar;%CLASSPATH%
  call %TOMCAT_HOME%\bin\tomcat env
  java org.apache.tools.ant.Main -Dtomcat.home %TOMCAT_HOME% -f conf/test-tomcat.xml %*
  goto :restore
  
  :bin
  SET CLASSPATH=lib\ant.jar;%CLASSPATH%
  CALL bin\tomcat env
  java org.apache.tools.ant.Main -f conf/test-tomcat.xml %*
  
  :restore
  set CLASSPATH=%TOM_PREV_CLASSPATH%
  
  
  
  

Mime
View raw message