peterreilly 2005/03/01 01:48:51 Modified: src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH Zip.java Log: sync Revision Changes Path No revision No revision 1.116.2.15 +3 -1 ant/src/main/org/apache/tools/ant/taskdefs/Zip.java Index: Zip.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Zip.java,v retrieving revision 1.116.2.14 retrieving revision 1.116.2.15 diff -u -r1.116.2.14 -r1.116.2.15 --- Zip.java 21 Feb 2005 08:44:32 -0000 1.116.2.14 +++ Zip.java 1 Mar 2005 09:48:51 -0000 1.116.2.15 @@ -511,7 +511,9 @@ } addResources(oldFiles, r, zOut); } - zOut.setComment(comment); + if (zOut != null) { + zOut.setComment(comment); + } finalizeZipOutputStream(zOut); // If we've been successful on an update, delete the
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]