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 Thu, 12 Aug 2004 13:39:15 GMT
mturk       2004/08/12 06:39:14

  Modified:    catalina/src/bin service.bat
  Log:
  Set the Service display name unique if the service name
  has been provided at the command line.
  Fixes bug 30615
  
  Revision  Changes    Path
  1.8       +3 -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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- service.bat	10 Aug 2004 11:10:26 -0000	1.7
  +++ service.bat	12 Aug 2004 13:39:14 -0000	1.8
  @@ -42,10 +42,12 @@
   
   rem Set default Service name
   set SERVICE_NAME=Tomcat5
  +set PR_DISPLAYNAME=Apache Tomcat
   
   if "%1" == "" goto displayUsage
   if "%2" == "" goto setServiceName
   set SERVICE_NAME=%2
  +set PR_DISPLAYNAME=Apache Tomcat %2
   :setServiceName
   if %1 == install goto doInstall
   if %1 == remove goto doRemove
  @@ -70,7 +72,6 @@
   rem Use the environment variables as an exaple
   rem Each command line option is prefixed with PR_
   
  -set PR_DISPLAYNAME=Apache Tomcat
   set PR_DESCRIPTION=Apache Tomcat Server - http://jakarta.apache.org/tomcat
   set PR_INSTALL=%EXECUTABLE%
   set PR_LOGPATH=%CATALINA_HOME%\logs
  
  
  

---------------------------------------------------------------------
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