ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47854] Ant can't run within another Java program
Date Fri, 09 Oct 2009 08:12:25 GMT

--- Comment #3 from Stefan Bodewig <> 2009-10-09 01:12:23 PDT ---
Like Martijn said, Ant's Main has a very good reason to call System.exit,
namely to have control over the process' exit code which is vital to many
shell-script/batch-file scenarios.

The System.exit in Launcher will only ever be triggered if the AntMain
implementation throws an exception.  Since you need to plug in your own AntMain
implementation anyway, this should be easy to avoid.

For [2]: what does you modified implementation look like and would you be
willing to contribute it?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message