ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: "destroy"-ing an Ant exec doesn't destroy what Ant is "exec"- ing...
Date Mon, 07 Apr 2003 19:30:09 GMT

----- Original Message -----
From: "Stefan Bodewig" <>
To: <>
Sent: Monday, April 07, 2003 08:54
Subject: Re: "destroy"-ing an Ant exec doesn't destroy what Ant is "exec"-

> On Mon, 7 Apr 2003, Dominique Devienne <> wrote:
> > Why can't be modified to not call System.exit, possibly
> > conditionally under the control from a new command line argument?
> Reread Rich's mail.  Ant calling System.exit is not his problem (well,
> at leat not all of it), he's looking for a more general solution.
> Main#main has never been intended to be anything but the command line
> entry point into Ant.  Calling System.exit with any argument other
> than 0 on errors is highly appreciated by us Unix users.  This rules
> out removing the System.exit unconditionally.

main calls void start(String args[]), right? maybe it shoud delegate to

void start(String args[]) {
  int result=runAnt(args);

and then runAnt or whatever would be the other entry point.

View raw message