marcsaeg 01/06/24 12:27:16
Modified: src/shell Tag: tomcat_32 tomcat.bat
Log:
Making tomcat.bat consistent with tomcat.sh in how files are added to the
classpath. Tomcat.bat only added jar files while tomcat.sh added all files
in tomcat/lib. This made it more difficult for users to have .zip file
automatically added to Tomcat's classpath.
PR: 1935
Submitted by: [EMAIL PROTECTED] (Jonathan Pierce)
Revision Changes Path
No revision
No revision
1.24.2.7 +2 -2 jakarta-tomcat/src/shell/tomcat.bat
Index: tomcat.bat
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/shell/tomcat.bat,v
retrieving revision 1.24.2.6
retrieving revision 1.24.2.7
diff -u -r1.24.2.6 -r1.24.2.7
--- tomcat.bat 2001/01/11 19:12:45 1.24.2.6
+++ tomcat.bat 2001/06/24 19:27:10 1.24.2.7
@@ -22,7 +22,7 @@
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
-rem $Id: tomcat.bat,v 1.24.2.6 2001/01/11 19:12:45 larryi Exp $
+rem $Id: tomcat.bat,v 1.24.2.7 2001/06/24 19:27:10 marcsaeg Exp $
rem -------------------------------------------------------------------------
@@ -76,7 +76,7 @@
:dynClasspath
set _LIBJARS=
-for %%i in (%TOMCAT_HOME%\lib\*.jar) do call %TOMCAT_HOME%\bin\cpappend.bat %%i
+for %%i in (%TOMCAT_HOME%\lib\*.*) do call %TOMCAT_HOME%\bin\cpappend.bat %%i
if not "%_LIBJARS%" == "" goto gotLibJars
echo Unable to set CLASSPATH dynamically.
if "%OS%" == "Windows_NT" goto staticClasspath