In tomcat-3.2.2b5 and earlier, the tomcat.bat and tomcat.sh have inconsistent
behavior as tomcat.sh loads all files in the tomcat lib folder and tomcat.bat
only loads the ones with .jar extension. I think they should be changed to
behave consistently so lib files don't need to be renamed when added to the lib
folder on Windows.

The line in tomcat.bat should probably be changed from *.jar to *.* unless the
spec says otherwise in which case the line in tomcat.sh should be changed to be
consistent.

Change:

for %%i in (%TOMCAT_HOME%\lib\*.jar) do call %TOMCAT_HOME%\bin\cpappend.bat %%i

to:

for %%i in (%TOMCAT_HOME%\lib\*.*) do call %TOMCAT_HOME%\bin\cpappend.bat %%i

Reply via email to