一次把一个目录下所有.jar加入classpath
2008-01-05 09:56:28 来源:WEB开发网核心提示:tomcat的做法//tomcat.bat...set _LIBJARS=for %%i in (%TOMCAT_HOME%\lib\*.jar) do call%TOMCAT_HOME%\bin\cpappend.bat %%i... //cpappend.batset _LIBJARS=%_LIBJARS%;%1
tomcat的做法
//tomcat.bat
...
set _LIBJARS=
for %%i in (%TOMCAT_HOME%\lib\*.jar) do call
%TOMCAT_HOME%\bin\cpappend.bat %%i
...
//cpappend.bat
set _LIBJARS=%_LIBJARS%;%1
更多精彩
赞助商链接