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=15906>. 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=15906 jar task doesn't update existing jar file with update=yes Summary: jar task doesn't update existing jar file with update=yes Product: Ant Version: 1.5.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] During my build process, there is a jar task to create a new jar file and add some class files, excluding others. Later in the process, there is another jar task to add additional files to the jar file. At the completion of the build, the jar file only contains the files from the initial task. <jar jarfile="jarname" basedir="path" update="yes"> <include name="path1/*.class" /> <exclude name="path1/class1.class" /> <exclude name="path1/class2.class" /> </jar> ... <jar jarfile="jarname" basedir="path" update="yes"> <include name="path2/*.class" /> <include name="path2/*.properties" /> </jar> (Changing jarfile to destfile doesn't make any difference) This process worked correctly with Ant 1.4.1, but it fails with Ant 1.5.1. No error messages are provided, but the jar file only has the files from the first jar task. This occurs with Sun's 1.3.1 JDK and IBM's 1.3.1 JDK. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
