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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]