Browse Source

Improve log message when classloader fails to read a resource.

Submitted by:	Sascha Freitag <freitag at objtec dot com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274208 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
5a6b83a78a
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      docs/manual/credits.html
  2. +2
    -1
      src/main/org/apache/tools/ant/AntClassLoader.java

+ 1
- 1
docs/manual/credits.html View File

@@ -44,7 +44,7 @@
$Id$</p> $Id$</p>
</center> </center>
<hr> <hr>
<p align="center">Copyright &copy; 2000-2002 Apache Software Foundation. All rights
<p align="center">Copyright &copy; 2000-2003 Apache Software Foundation. All rights
Reserved.</p> Reserved.</p>


</body> </body>


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

@@ -1172,7 +1172,8 @@ public class AntClassLoader extends ClassLoader implements BuildListener {
throw se; throw se;
} catch (IOException ioe) { } catch (IOException ioe) {
// ioe.printStackTrace(); // ioe.printStackTrace();
log("Exception reading component " + pathComponent ,
log("Exception reading component " + pathComponent
+ "(reason: " + ioe.getMessage() + ")",
Project.MSG_VERBOSE); Project.MSG_VERBOSE);
} }
} }


Loading…
Cancel
Save