Hi,
I'm using Ant 1.6 and trying to build my WAR file. Im my web root directory, I
have a directory named "dojo" that I wish to exclude from my WAR file. Here is
how I construct the WAR file ...
<war
basedir="${webroot.dir}"
warfile="${build}/${war-file-name}"
webxml="${webInfDir}/web.xml">
<exclude name="WEB-INF/${build}/**"/>
<exclude name="WEB-INF/src/**"/>
<exclude name="WEB-INF/web.xml"/>
<exclude name="dojo"/>
<exclude name="${build}/${war-file-name}"/>
<lib dir="${webInfLibDir}">
<exclude name="*.jar"/>
<include name="appUtil.jar"/>
<include name="appproperties.jar"/>
<include name="commons-beanutils-1.7.0.jar"/>
<include name="commons-codec-1.3.jar"/>
<include name="commons-collections-3.1.jar"/>
<include name="commons-digester-1.6.jar"/>
<include name="commons-el-1.0.jar"/>
<include name="commons-fileupload-1.0.jar"/>
<include name="commons-lang-2.1.jar"/>
<include name="commons-logging-1.0.4.jar"/>
<include name="commons-pool-1.3.jar"/>
<include name="commons-validator-1.3.1.jar"/>
<include name="json.jar"/>
<include name="jstl-1.1.0.jar"/>
<include name="log4j-1.2.8.jar"/>
<include name="myfaces-api-1.1.5.jar"/>
<include name="myfaces-impl-1.1.5.jar"/>
<include name="NPSConfigDelegate.jar"/>
<include name="npsimdelegate.jar"/>
<include name="standard.jar"/>
<include name="tomahawk-1.1.6.jar"/>
</lib>
</war>
but it seems the '<exclude name="dojo"/>' has no effect. The dojo directory
gets inserted into my WAR. Any ideas? - Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]