You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jonathan Pierce <Jo...@seagram.com> on 2001/05/18 15:53:35 UTC

Loading Libraries from Tomcat lib folder

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