-<!-- <fileset dir="${java.home}/lib">
- <include name="tools.jar"/>
- <include name="rt.jar"/>
- </fileset>
- <fileset dir="${java.localhome}">
- <include name="*.jar"/>
- </fileset>
- <pathelement path="${tomcat.home}/lib/tomcat.jar"/>
--->
+ <pathelement path="${tomcat.home}/lib/tomcat.jar"/>
+ <!-- for libs shared between tomcat and webapps (tomcat 3.3.x) -->
+ <fileset dir="${tomcat.home}">
+ <include name="lib/common/*.jar" />
+ </fileset>
+ <!-- for libs shared between webapps (tomcat 3.3.x) -->
+ <fileset dir="${tomcat.home}">
+ <include name="lib/apps/*.jar" />
+ </fileset>
+ <!-- for libs shared between tomcat and webapps (tomcat 4.0.x) -->
+ <fileset dir="${tomcat.home}">
+ <include name="common/lib/*.jar" />
+ </fileset>
+ <!-- for libs shared between webapps (tomcat 4.0.x) -->
+ <fileset dir="${tomcat.home}">
+ <include name="lib/*.jar" />
+ </fileset>