ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r552475 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Expand.java
Date Mon, 02 Jul 2007 11:58:08 GMT
Author: stevel
Date: Mon Jul  2 04:58:07 2007
New Revision: 552475

URL: http://svn.apache.org/viewvc?view=rev&rev=552475
Log:
I know, lets have a more detailed error message when expand fails than just "expand failed"

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Expand.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Expand.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Expand.java?view=diff&rev=552475&r1=552474&r2=552475
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Expand.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Expand.java Mon Jul  2 04:58:07
2007
@@ -144,7 +144,8 @@
 
             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);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message