Browse Source

ant -p swallows (configuration) errors silently.

PR:  27732


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276246 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 21 years ago
parent
commit
a38273bbf4
2 changed files with 5 additions and 0 deletions
  1. +3
    -0
      WHATSNEW
  2. +2
    -0
      src/main/org/apache/tools/ant/Main.java

+ 3
- 0
WHATSNEW View File

@@ -87,6 +87,9 @@ Fixed bugs:
* <java> swallowed the stack trace of exceptions thrown by the
executed program if run in the same VM.

* -projecthelp swallowed (configuration) errors silently.
Bugzilla report 27732.

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



+ 2
- 0
src/main/org/apache/tools/ant/Main.java View File

@@ -685,6 +685,8 @@ public class Main implements AntMain {
} finally {
if (!projectHelp) {
project.fireBuildFinished(error);
} else if (error != null) {
project.log(error.toString(), Project.MSG_ERR);
}
}
}


Loading…
Cancel
Save