In fact I did switch to using the war task and avoided doing the copy which was
causing problems, but I think finding the answer to why it happened is still
important or else I'll never know when to trust the copy task again.
I should have mentioned before that I'm using ant 1.8.1 and ivy 2.2.0.
Steve
On 2/4/2011 6:39 PM, Filipe Sousa wrote:
I'm new to the ANT world, but why don't you use the war task?
http://ant.apache.org/manual/Tasks/war.html
<copy todir="${dir.build.tmp}/WEB-INF/classes">
<fileset dir="${dir.build.classes.main}">
<include name="**/*.class"/>
<include name="**/*.properties"/>
</fileset>
</copy>
See, no filters at all.