It looks like you got some redundancy in your war task there. You're grabbing
everything under ${outDir}/web/webapp/WEB-INF with the subelement
and then you're going out and specifically grabbing the lib and classes
folders under your ${outDir}/web/webapp/WEB-INF folder with the lib and
classe
Use the 'duplicate' attribute of the task to prevent this.
http://ant.apache.org/manual/CoreTasks/war.html
If you set duplicate="fail" then the task will fail if it finds duplicates.
You can use this to fix any unnecessary redundancy in the source paths. If
the duplicates in the source paths are
Hi there,
I'm trying to create a war file using the Ant war-task. The creted file seems
to be ok but all the files under WEB-INF/classes and WEB-INF/lib exists twice
or even 3-times (with the same name in the same dir). Of course I can skip the
duplicate files but it confuse me ;)
My app look