View | Details | Raw Unified | Return to bug 48464
Collapse All | Expand All

(-)catalina.bat#885002 (-1 / +15 lines)
Lines 68-73 Link Here
68
rem                   Example (all one line)
68
rem                   Example (all one line)
69
rem                   set LOGGING_CONFIG="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
69
rem                   set LOGGING_CONFIG="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
70
rem
70
rem
71
rem   TITLE           (Optional) Specify the title of Tomcat window. The default
72
rem                   TITLE is Tomcat if it's not specified.
73
rem                   Example (all one line)
74
rem                   set TITLE=Tomcat Server 1
75
rem
76
rem   TITLE_WITH_TIME (Optional) If set, regardless the value of it, current
77
rem                   datetime will be appended to title, so that you can know
78
rem                   the startup time of Tomcat from title.
79
rem                   Example (all one line)
80
rem                   set TITLE_WITH_TIME=whatever non empty value
81
rem
71
rem
82
rem
72
rem
83
rem
73
rem $Id: catalina.bat 885002 2009-11-27 20:51:03Z markt $
84
rem $Id: catalina.bat 885002 2009-11-27 20:51:03Z markt $
Lines 222-228 Link Here
222
:doStart
233
:doStart
223
shift
234
shift
224
if not "%OS%" == "Windows_NT" goto noTitle
235
if not "%OS%" == "Windows_NT" goto noTitle
225
set _EXECJAVA=start "Tomcat" %_RUNJAVA%
236
if not defined TITLE set TITLE=Tomcat
237
set TITLE=%TITLE:"=%
238
if defined TITLE_WITH_TIME set TITLE=%TITLE% [%DATE% %TIME%]
239
set _EXECJAVA=start "%TITLE%" %_RUNJAVA%
226
goto gotTitle
240
goto gotTitle
227
:noTitle
241
:noTitle
228
set _EXECJAVA=start %_RUNJAVA%
242
set _EXECJAVA=start %_RUNJAVA%

Return to bug 48464