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=11623>. 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=11623 cannot update jar file using <jar> Summary: cannot update jar file using <jar> Product: Ant Version: 1.5 Platform: Sun OS/Version: Solaris Status: NEW Severity: Major Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] To reproduce, use the following build.xml file <project name="test" default="all" basedir="."> <target name="all"> <jar jarfile="test.jar" basedir="." includes="xyz"/> <jar jarfile="test.jar" basedir="." update="yes" includes="abc"/> </target> </project> --------- After running ant, only file xyz is added to the test.jar. file abc is omitted. If I use ant 1.4.1, abc is included. ---------- /local/ant1.5/bin/ant -v Apache Ant version 1.5 compiled on July 9 2002 Buildfile: build.xml Detected Java version: 1.4 in: /net/Koori.sfbay/a/v07/jdk/1.4/fcs/binaries/solsparc/jre Detected OS: SunOS parsing buildfile build.xml with URI = file:/net/pianoforte.sfbay/export/home/tcng/testant/build.xml Project base dir set to: /net/pianoforte.sfbay/export/home/tcng/testant Build sequence for target `all' is [all] Complete build sequence is [all] all: [jar] Updating jar since cannot read current jar manifest: java.util.zip.ZipException - No such file or directory [jar] Building jar: /net/pianoforte.sfbay/export/home/tcng/testant/test.jar [jar] adding directory META-INF/ [jar] adding entry META-INF/MANIFEST.MF [jar] adding entry xyz [jar] abc omitted as /net/pianoforte.sfbay/export/home/tcng/testant/test.jar is up to date. BUILD SUCCESSFUL Total time: 3 seconds -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
