Gregor Neu E1 wrote:
> I am a newbie and didn't know how to handle war-files (until somebody
> told that they work like jars...)
>
> Gregor
Or you could keep the libraries from getting in the war file at all.
Here's a snippet from my build.xml, based on the latest CVS:
<!--
=================================================================== -->
<!-- Prepares the libraries for the war package
-->
<!--
=================================================================== -->
<target name="copy-webapp-libs" depends="copy-tools-lib"
if="include.webapp.libs">
<copy todir="${build.war}/WEB-INF/lib">
<fileset dir="${lib.dir}/core">
<include name="*.jar"/>
<exclude name="servlet*.jar"/>
<!-- kbee 2002-04-21 Exclude next 3 libs for Tomcat 4.0.3 -->
<exclude name="xalan-*.jar"/>
<exclude name="xercesImpl-*.jar"/>
<exclude name="xml-apis.jar"/>
</fileset>
</copy>
<copy todir="${build.war}/WEB-INF/lib">
<fileset dir="${lib.dir}/optional">
<include name="*.jar"/>
<exclude name="servlet*.jar"/>
<!-- kbee 2002-04-21 Exclude next lib for Tomcat 4.0.3 -->
<exclude name="batik-all-*.jar"/>
</fileset>
</copy>
</target>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>