Bug in Ant 1.5.2?
I found out the hard way that there might be a bug in Ant 1.5.2. I'm running the following task as part of appfuse - and it generates a appfuse.zip file, and it's the correct size, but there's nothing in it. I reverted back to Ant 1.5.1 and everything worked fine.
<zip zipfile="${archive.target}.zip">
<zipfileset prefix="${webapp.name}" dir="${basedir}">
<patternset id="srcfiles">
<include name="**"/>
<exclude name="build.properties"/>
<exclude name="database.properties"/>
<exclude name="*.log"/>
<exclude name="*/**.java.txt"/>
<exclude name="${dist.dir}/**"/>
<exclude name="${build.dir}/**"/>
</patternset>
</zipfileset>
</zip>
This particular problem happened with Cygwin on Windows 2000 using JDK 1.4.1_01.

