Browse Source

JUnit XMLResultAggregator logs the stack trace of caught IO exceptions in verbose runs. Bugzilla Report 48836.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1028749 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 14 years ago
parent
commit
aea7d36e1a
2 changed files with 6 additions and 0 deletions
  1. +4
    -0
      WHATSNEW
  2. +2
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLResultAggregator.java

+ 4
- 0
WHATSNEW View File

@@ -250,6 +250,10 @@ Other changes:
for a custom pattern.
Bugzilla Report 50114.

* JUnit XMLResultAggregator logs the stack trace of caught IO exceptions
in verbose runs.
Bugzilla Report 48836.

Changes from Ant 1.8.0 TO Ant 1.8.1
===================================



+ 2
- 0
src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLResultAggregator.java View File

@@ -279,6 +279,8 @@ public class XMLResultAggregator extends Task implements XMLConstants {
} catch (IOException e) {
log("Error while accessing file " + file + ": "
+ e.getMessage(), Project.MSG_ERR);
log("Error while accessing file " + file + ": "
+ e.getMessage(), e, Project.MSG_VERBOSE);
}
}
return rootElement;


Loading…
Cancel
Save