You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ru...@locus.apache.org on 2000/02/05 19:28:43 UTC

cvs commit: jakarta-tomcat/src/shell shutdown.bat startup.bat

rubys       00/02/05 10:28:43

  Modified:    src/shell shutdown.bat startup.bat
  Log:
  call tomcat.bat in its new location
  
  Revision  Changes    Path
  1.3       +10 -3     jakarta-tomcat/src/shell/shutdown.bat
  
  Index: shutdown.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/shell/shutdown.bat,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- shutdown.bat	1999/12/05 17:02:41	1.2
  +++ shutdown.bat	2000/02/05 18:28:43	1.3
  @@ -1,5 +1,12 @@
   @echo off
  -rem $Id: shutdown.bat,v 1.2 1999/12/05 17:02:41 harishp Exp $
  +rem $Id: shutdown.bat,v 1.3 2000/02/05 18:28:43 rubys Exp $
   rem Startup batch file for tomcat server.
  -call tomcat stop
  -rem pause
  +
  +if "%TOMCAT_HOME%" == "" goto bin
  +cmd /c "cd %TOMCAT_HOME% & bin\tomcat stop"
  +goto :eof
  +
  +:bin
  +call bin\tomcat stop
  +
  +:eof
  
  
  
  1.5       +10 -3     jakarta-tomcat/src/shell/startup.bat
  
  Index: startup.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/shell/startup.bat,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- startup.bat	2000/01/13 17:01:44	1.4
  +++ startup.bat	2000/02/05 18:28:43	1.5
  @@ -1,9 +1,16 @@
   @echo off
  -rem $Id: startup.bat,v 1.4 2000/01/13 17:01:44 rubys Exp $
  +rem $Id: startup.bat,v 1.5 2000/02/05 18:28:43 rubys Exp $
   rem Startup batch file for tomcat servner.
   
   rem This batch file written and tested under Windows NT
   rem Improvements to this file are welcome
   
  -call tomcat start %1 %2 %3 %4 %5 %6 %7 %8 %9 
  -rem pause
  +
  +if "%TOMCAT_HOME%" == "" goto bin
  +cmd /c "cd %TOMCAT_HOME% & bin\tomcat start %1 %2 %3 %4 %5 %6 %7 %8 %9"
  +goto :eof
  +
  +:bin
  +call bin\tomcat start %1 %2 %3 %4 %5 %6 %7 %8 %9
  +
  +:eof