----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]