Browse Source

provide file name when you fail to delete the temporary file. PR 49419

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953261 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 15 years ago
parent
commit
436200f3e3
2 changed files with 6 additions and 1 deletions
  1. +4
    -0
      WHATSNEW
  2. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java

+ 4
- 0
WHATSNEW View File

@@ -41,6 +41,10 @@ Fixed bugs:
certain circumstances.
Bugzilla Report 49296.

* <junit> will now produce better diagnostics when it fails to delete
a temporary file.
Bugzilla Report 49419.

Other changes:
--------------



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

@@ -1055,7 +1055,8 @@ public class JUnitTask extends Task {

if (!FILE_UTILS.tryHardToDelete(propsFile)) {
throw new BuildException("Could not delete temporary "
+ "properties file.");
+ "properties file '"
+ propsFile.getAbsolutePath() + "'.");
}
}



Loading…
Cancel
Save