DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10755>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10755 Ant 1.5's jar task fails to add new files when run multiple times ------- Additional Comments From [EMAIL PROTECTED] 2003-01-04 06:59 ------- I have done a smoke test concerning these 3 patches. When one does what Sven Karlsen describes (build first an empty jar, then add one file for instance build.xml), the jar tasks notices that build.xml is missing the second time and rebuilds it. I have also done a smoke test with a zipfile task containing zipfilesets, similar to what is in the ant manual, including a zipfileset coming from a zip file. Here is what I have played with : <?xml version="1.0"?> <project name="Expose a Bug in Ant's Jar Task" default="jar" basedir="."> <!-- <touch file="build.xml" datetime="06/28/2000 2:02 pm"/> --> <target name="jar"> <jar jarfile="test.jar" basedir="." excludes="*"/> <jar jarfile="test.jar" basedir="." includes="build.xml" excludes="test.jar"/> </target> <target name="jar2"> <jar jarfile="test.jar" basedir="." includes="build.xml" excludes="test.jar"/> <jar jarfile="test.jar" basedir="." includes="build.xml" excludes="test.jar"/> </target> <target name="zip"> <touch file="htdocs/manual/inputhandler.html" datetime="06/28/2000 2:02 pm"/> <zip destfile="manual.zip"> <zipfileset dir="htdocs/manual" prefix="docs/user-guide"/> <zipfileset dir="." includes="ChangeLog27.txt" fullpath="docs/ChangeLog.txt"/> <zipfileset src="examples.zip" includes="**/*.html" prefix="docs/examples"/> </zip> <!-- <echo message="Hello, world" file="htdocs/manual/text.html"/> --> <zip destfile="manual.zip"> <zipfileset dir="htdocs/manual" prefix="docs/user-guide"/> <zipfileset dir="." includes="ChangeLog27.txt" fullpath="docs/ChangeLog.txt"/> <zipfileset src="examples.zip" includes="**/*.html" prefix="docs/examples"/> </zip> <delete file="htdocs/manual/text.html" quiet="true"/> </target> </project> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
