tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48464] Feature request: startup.bat: -title option needed
Date Sun, 03 Jan 2010 13:03:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48464

--- Comment #7 from Konstantin Kolinko <knst.kolinko@gmail.com> 2010-01-03 05:03:25
UTC ---
Re startup.bat:

Please note, that since TC 6.0.16/5.5.26 you can create
%CATALINA_BASE%/bin/setenv.bat, and place your instance-specific variable
assignments there.

Also you can write your own simple script to process -t and -tt arguments, set
the varables, and call startup.bat (or directly "catalina.bat start").

Because the title can be set programmatically in those scripts, I see no point
in providing the 'TITLE_WITH_TIME' variable.


Re Comment 4:
> If %CD% contains "&" character, the startup.bat will failed at
> cd %CURRENT_DIR%
> %CURRENT_DIR% need to be quoted to avoid this error.

For me it fails a few lines earlier, when executing
set CURRENT_DIR=%cd%

The solution is to add quotes to the set command as well:
set "CURRENT_DIR=%cd%"

The above is on Windows XP.
I will work on a patch, though will need to wait till the end of the holidays
to test on the other Windows versions as well.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message