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 Summary: Ant 1.5's jar task fails to add new files when run multiple times Product: Ant Version: 1.5 Platform: PC OS/Version: Other Status: NEW Severity: Critical Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Ant 1.5's <jar/> task doesn't add new files to a Jar archive if it's run multiple times on the same file in the same Ant process. It seems that there is something wrong with the dependency checking of the archive contents. This behaviour was first seen with Ant 1.5, after using 1.5Beta3 and 1.4.1 without problems. To reproduce: 1. Copy the enclosed build script sample into a file. 2. Run Ant 1.5 on it: $ ant -v 3. Check the archive contents, test.jar: $ unzip -l test.jar 4. The archive is still empty (except for the generated manifest file), but a single file should have been added by the second <jar/> invocation. <?xml version="1.0"?> <project name="Expose a Bug in Ant's Jar Task" default="jar" basedir="."> <target name="jar"> <jar jarfile="test.jar" basedir="." excludes="*"/> <jar jarfile="test.jar" basedir="." includes="build.xml" excludes="test.jar"/> </target> </project> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
