tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/bin service.bat
Date Wed, 28 Jul 2004 05:32:37 GMT
mturk       2004/07/27 22:32:36

  Modified:    catalina/src/bin service.bat
  Log:
  Add the %JAVA_HOME%\lib\tools.jar to PR_CLASSPATH.
  So that one doesn't need to copy the tools.jar manualy
  
  Revision  Changes    Path
  1.6       +7 -2      jakarta-tomcat-catalina/catalina/src/bin/service.bat
  
  Index: service.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/bin/service.bat,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- service.bat	8 Apr 2004 16:49:37 -0000	1.5
  +++ service.bat	28 Jul 2004 05:32:36 -0000	1.6
  @@ -28,6 +28,11 @@
   echo The CATALINA_HOME environment variable is not defined correctly.
   echo This environment variable is needed to run this program
   goto end
  +rem Make sure prerequisite environment variables are set
  +if not "%JAVA_HOME%" == "" goto okHome
  +echo The JAVA_HOME environment variable is not defined
  +echo This environment variable is needed to run this program
  +goto end 
   :okHome
   if not "%CATALINA_BASE%" == "" goto gotBase
   set CATALINA_BASE=%CATALINA_HOME%
  @@ -65,7 +70,7 @@
   set PR_DESCRIPTION=Apache Tomcat Server - http://jakarta.apache.org/tomcat
   set PR_INSTALL=%EXECUTABLE%
   set PR_LOGPATH=%CATALINA_HOME%\logs
  -set PR_CLASSPATH=%CATALINA_HOME%\bin\bootstrap.jar
  +set PR_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar
   "%EXECUTABLE%" //IS//%SERVICE_NAME% --Jvm auto --StartClass org.apache.catalina.startup.Bootstrap
--StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop
   rem Clear the environment variables. They are not needed any more.
   set PR_DISPLAYNAME=
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message