Grokbase Groups Ant dev March 2004
FAQ
mbenson 2004/03/17 14:06:47

Modified: src/main/org/apache/tools/ant Main.java
Log:
ant -p swallows (configuration) errors silently.
PR: 27732

Revision Changes Path
1.105 +2 -0 ant/src/main/org/apache/tools/ant/Main.java

Index: Main.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Main.java,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- Main.java 9 Mar 2004 16:47:59 -0000 1.104
+++ Main.java 17 Mar 2004 22:06:47 -0000 1.105
@@ -685,6 +685,8 @@
} finally {
if (!projectHelp) {
project.fireBuildFinished(error);
+ } else if (error != null) {
+ project.log(error.toString(), Project.MSG_ERR);
}
}
}




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriesant
postedMar 17, '04 at 10:06p
activeMar 17, '04 at 10:06p
posts1
users1
websiteant.apache.org

1 user in discussion

Mbenson: 1 post

People

Translate

site design / logo © 2017 Grokbase