Browse Source

I know, lets have a more detailed error message when expand fails than just "expand failed"

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@552475 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 18 years ago
parent
commit
1b772899ee
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/Expand.java

+ 2
- 1
src/main/org/apache/tools/ant/taskdefs/Expand.java View File

@@ -144,7 +144,8 @@ public class Expand extends Task {

log("expand complete", Project.MSG_VERBOSE);
} catch (IOException ioe) {
throw new BuildException("Error while expanding " + srcF.getPath(),
throw new BuildException("Error while expanding " + srcF.getPath()
+"\n"+ioe.toString(),
ioe);
} finally {
ZipFile.closeQuietly(zf);


Loading…
Cancel
Save