ASF Bugzilla – Attachment 24788 Details for
Bug 48464
Feature request: startup.bat: -title option needed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for catalina.bat#885002 (renew#2), document added
patch_for_catalina.bat#885002.txt (text/plain), 1.29 KB, created by
LiuYan 刘研
on 2010-01-02 23:27:06 UTC
(
hide
)
Description:
Patch for catalina.bat#885002 (renew#2), document added
Filename:
MIME Type:
Creator:
LiuYan 刘研
Created:
2010-01-02 23:27:06 UTC
Size:
1.29 KB
patch
obsolete
>--- catalina.bat#885002 2009-12-23 18:31:50.000000000 +0800 >+++ catalina.bat 2010-01-03 14:21:54.265625000 +0800 >@@ -68,6 +68,17 @@ > rem Example (all one line) > rem set LOGGING_CONFIG="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" > rem >+rem TITLE (Optional) Specify the title of Tomcat window. The default >+rem TITLE is Tomcat if it's not specified. >+rem Example (all one line) >+rem set TITLE=Tomcat Server 1 >+rem >+rem TITLE_WITH_TIME (Optional) If set, regardless the value of it, current >+rem datetime will be appended to title, so that you can know >+rem the startup time of Tomcat from title. >+rem Example (all one line) >+rem set TITLE_WITH_TIME=whatever non empty value >+rem > rem > rem > rem $Id: catalina.bat 885002 2009-11-27 20:51:03Z markt $ >@@ -222,7 +233,10 @@ > :doStart > shift > if not "%OS%" == "Windows_NT" goto noTitle >-set _EXECJAVA=start "Tomcat" %_RUNJAVA% >+if not defined TITLE set TITLE=Tomcat >+set TITLE=%TITLE:"=% >+if defined TITLE_WITH_TIME set TITLE=%TITLE% [%DATE% %TIME%] >+set _EXECJAVA=start "%TITLE%" %_RUNJAVA% > goto gotTitle > :noTitle > set _EXECJAVA=start %_RUNJAVA%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48464
:
24780
|
24784
|
24788
|
24790