tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/shell tomcat.bat
Date Sat, 25 Mar 2000 01:11:17 GMT
craigmcc    00/03/24 17:11:17

  Modified:    src/shell tomcat.bat
  Log:
  Allow TOMCAT.BAT to work even if TOMCAT_HOME has spaces in it.
  PR: 102
  Submitted by:	Larry.Isaacs@sas.com
  
  Revision  Changes    Path
  1.16      +5 -5      jakarta-tomcat/src/shell/tomcat.bat
  
  Index: tomcat.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/shell/tomcat.bat,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- tomcat.bat	2000/03/01 20:24:23	1.15
  +++ tomcat.bat	2000/03/25 01:11:17	1.16
  @@ -40,32 +40,32 @@
   :startServer
   echo Starting tomcat in new window
   echo Using classpath: %CLASSPATH%
  -start java -Dtomcat.home=%TOMCAT_HOME% org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6
%7 %8 %9
  +start java -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6
%7 %8 %9
   goto cleanup
   
   :runServer
   rem Start the Tomcat Server
   echo Using classpath: %CLASSPATH%
  -java -Dtomcat.home=%TOMCAT_HOME% org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8
%9
  +java -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8
%9
   goto cleanup
   
   :stopServer
   rem Stop the Tomcat Server
   echo Using classpath: %CLASSPATH%
  -java -Dtomcat.home=%TOMCAT_HOME% org.apache.tomcat.startup.Tomcat -stop %2 %3 %4 %5 %6
%7 %8 %9
  +java -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat -stop %2 %3 %4 %5 %6
%7 %8 %9
   goto cleanup
   goto cleanup
   
   :runAnt
   rem Run ant
   echo Using classpath: %CLASSPATH%
  -java -Dant.home=%TOMCAT_HOME%  -Dtomcat.home=%TOMCAT_HOME% org.apache.tools.ant.Main $@
  +java -Dant.home="%TOMCAT_HOME%" -Dtomcat.home="%TOMCAT_HOME%" org.apache.tools.ant.Main
%2 %3 %4 %5 %6 %7 %8 %9
   goto cleanup
   
   :runJspc
   rem Run ant
   echo Using classpath: %CLASSPATH%
  -java -Dtomcat.home=%TOMCAT_HOME% org.apache.jasper.JspC %2 %3 %4 %5 %6 %7 %8 %9
  +java -Dtomcat.home="%TOMCAT_HOME%" org.apache.jasper.JspC %2 %3 %4 %5 %6 %7 %8 %9
   goto cleanup
   
   :setupEnv
  
  
  

Mime
View raw message