ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47854] Ant can't run within another Java program
Date Fri, 09 Oct 2009 08:12:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47854

--- Comment #3 from Stefan Bodewig <bodewig@apache.org> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message