tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: cvs commit: jakarta-tomcat-catalina/catalina/src/bin service.bat
Date Wed, 24 Dec 2003 04:55:47 GMT

----- Original Message ----- 
From: <billbarker@apache.org>
To: <jakarta-tomcat-catalina-cvs@apache.org>
Sent: Tuesday, December 23, 2003 8:40 PM
Subject: cvs commit: jakarta-tomcat-catalina/catalina/src/bin service.bat


> billbarker    2003/12/23 20:40:43
>
>   Modified:    catalina/src/bin service.bat
>   Log:
>   Quoting the EXECUTABLE in case there are spaces in the path name.
>
>   With XP, I could do it in one place (where EXECUTABLE is set), but I'm
too lazy to test on older Windows versions.
>

Forgot to add:
Reported By: Merrill Cornish  merrill.cornish@earthlink.net

>   Revision  Changes    Path
>   1.3       +4 -4
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.2
>   retrieving revision 1.3
>   diff -u -r1.2 -r1.3
>   --- service.bat 23 Dec 2003 04:31:49 -0000 1.2
>   +++ service.bat 24 Dec 2003 04:40:43 -0000 1.3
>   @@ -49,15 +49,15 @@
>
>    :doRemove
>    rem Remove the service
>   -%EXECUTABLE% //DS//%SERVICE_NAME%
>   +"%EXECUTABLE%" //DS//%SERVICE_NAME%
>    echo The service '%SERVICE_NAME%' has been removed
>    goto end
>
>    :doInstall
>    rem Install the service
>   -%EXECUTABLE% //IS//%SERVICE_NAME% --DisplayName "Apache
Tomcat" --Description "Apache Tomcat Server -
http://jakarta.apache.org/tomcat/"  --Install "%EXECUTABLE%" --ImagePath
"%CATALINA_HOME%\bin\bootstrap.jar" --StartupClass
org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass
org.apache.catalina.startup.Bootstrap;main;stop --Java java --Startup manual
>   +"%EXECUTABLE%" //IS//%SERVICE_NAME% --DisplayName "Apache
Tomcat" --Description "Apache Tomcat Server -
http://jakarta.apache.org/tomcat/"  --Install "%EXECUTABLE%" --ImagePath
"%CATALINA_HOME%\bin\bootstrap.jar" --StartupClass
org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass
org.apache.catalina.startup.Bootstrap;main;stop --Java java --Startup manual
>    rem Set extra parameters
>   -%EXECUTABLE%
//US//%SERVICE_NAME% --JavaOptions -Dcatalina.home="\"%CATALINA_HOME%\""#-Dj
ava.endorsed.dirs="\"%CATALINA_HOME%\common\endorsed\""#-Xrs --StdOutputFile
"%CATALINA_HOME%\logs\stdout.log" --StdErrorFile
"%CATALINA_HOME%\logs\stderr.log" --WorkingPath "%CATALINA_HOME%\bin"
>   +"%EXECUTABLE%"
//US//%SERVICE_NAME% --JavaOptions -Dcatalina.home="\"%CATALINA_HOME%\""#-Dj
ava.endorsed.dirs="\"%CATALINA_HOME%\common\endorsed\""#-Xrs --StdOutputFile
"%CATALINA_HOME%\logs\stdout.log" --StdErrorFile
"%CATALINA_HOME%\logs\stderr.log" --WorkingPath "%CATALINA_HOME%\bin"
>    echo The service '%SERVICE_NAME%' has been installed
>
>    :end
>
>
>
>
> ---------------------------------------------------------------------
> 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