Hi,
I want to instruct ant that upon building a WAR file, only include certain
files from my lib directory in the WEB-INF/lib directory. However, this
doesn't seem to be working
<target name="build-war">
<mkdir dir="${build}"/>
<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="${build}/${war-file-name}"/>
<lib dir="${webInfLibDir}">
<include name="commons-validator-1.3.1.jar"/>
</lib>
</war>
</target>
Instead ant seems to be including all the jar files in my ${webInfLibDir}
instead of just the one. Any ideas on why?
Thanks, - Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]