You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by ru...@us.ibm.com on 2000/06/21 19:53:20 UTC

RE: removing exits (was: build events)


Conor MacNeill wrote:

> I think we should also look at removing the System.exit calls made by
> ant (we complain enough about other classes that do this :-). There
> are two in Main.java and one in Project.java. I think the two in Main
> should simply propagate the exception in place of the System.exit.
> The one in Project should probably be converted to a BuildException.

+1

All three are "should never occur" conditions, but still could be nasty in
nested calls to Ant.

- Sam Ruby