peterreilly 2003/11/26 01:32:45 Modified: src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH Zip.java Log: sync with HEAD Revision Changes Path No revision No revision 1.116.2.2 +8 -4 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.1 retrieving revision 1.116.2.2 diff -u -r1.116.2.1 -r1.116.2.2 --- Zip.java 14 Oct 2003 13:20:11 -0000 1.116.2.1 +++ Zip.java 26 Nov 2003 09:32:44 -0000 1.116.2.2 @@ -421,11 +421,15 @@ try { fileUtils.rename(zipFile, renamedFile); } catch (SecurityException e) { - throw new BuildException("Not allowed to rename old file " - + "to temporary file"); + throw new BuildException( + "Not allowed to rename old file (" + + zipFile.getAbsolutePath() + + ") to temporary file"); } catch (IOException e) { - throw new BuildException("Unable to rename old file " - + "to temporary file"); + throw new BuildException( + "Unable to rename old file (" + + zipFile.getAbsolutePath() + + ") to temporary file"); } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]