You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Bernd Eckenfels <ec...@zusammenkunft.net> on 2015/11/05 03:11:53 UTC

[doc][patch} User proper windows line continuation for windows-service howto

Hello,

for some time now there are comments in the documentation site, that
the syntax used for line-continuation in the Windows Service howto is
wrong.

Please find attached a patch to correct this. I changed the
continuation prompt to the correct style (even when I think this way
makes copy and paste harder, but since the original version had those
prompts as well, I went with the original style).

BTW: I think the site doc is outdated compared to the 8.0 branch. So
maybe you can refresh that as well after the trunk patch is applied and
backported.

Gruss
Bernd

Index: webapps/docs/windows-service-howto.xml
===================================================================
--- webapps/docs/windows-service-howto.xml	(Revision 1712703)
+++ webapps/docs/windows-service-howto.xml	(Arbeitskopie)
@@ -360,11 +360,11 @@
 If using tomcat<version-major/>.exe, you need to use the <b>//IS//</b> parameter.</p>
 
 <source>Install the service named 'Tomcat<version-major/>'
-C:\> tomcat<version-major/> //IS//Tomcat<version-major/> --DisplayName="Apache Tomcat <version-major/>" \
-C:\> --Install="C:\Program Files\Tomcat\bin\tomcat<version-major/>.exe" --Jvm=auto \
-C:\> --StartMode=jvm --StopMode=jvm \
-C:\> --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start \
-C:\> --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop</source>
+C:\> tomcat<version-major/> //IS//Tomcat<version-major/> --DisplayName="Apache Tomcat <version-major/>" ^
+more? --Install="C:\Program Files\Tomcat\bin\tomcat<version-major/>.exe" --Jvm=auto ^
+more? --StartMode=jvm --StopMode=jvm ^
+more? --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start ^
+more? --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop</source>
 
 </section>
 <section name="Updating services">
@@ -373,15 +373,15 @@
 </p>
 
 <source>Update the service named 'Tomcat<version-major/>'
-C:\> tomcat<version-major/> //US//Tomcat<version-major/> --Description="Apache Tomcat Server - http://tomcat.apache.org/ " \
-C:\> --Startup=auto --Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar</source>
+C:\> tomcat<version-major/> //US//Tomcat<version-major/> --Description="Apache Tomcat Server - http://tomcat.apache.org/ " ^
+more? --Startup=auto --Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar</source>
 
 <p>If you gave the service an optional name, you need to specify it like this:
 </p>
 
 <source>Update the service named 'MyService'
-C:\> tomcat<version-major/> //US//MyService --Description="Apache Tomcat Server - http://tomcat.apache.org/ " \
-C:\> --Startup=auto --Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar</source>
+C:\> tomcat<version-major/> //US//MyService --Description="Apache Tomcat Server - http://tomcat.apache.org/ " ^
+more? --Startup=auto --Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar</source>
 
 </section>
 <section name="Removing services">

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