Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 39130 invoked from network); 5 Aug 2004 20:07:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Aug 2004 20:07:57 -0000 Received: (qmail 49912 invoked by uid 500); 5 Aug 2004 20:07:56 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 49671 invoked by uid 500); 5 Aug 2004 20:07:54 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 49655 invoked by uid 99); 5 Aug 2004 20:07:54 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Thu, 05 Aug 2004 13:07:52 -0700 Received: (qmail 26104 invoked by uid 50); 5 Aug 2004 20:09:24 -0000 Date: 5 Aug 2004 20:09:24 -0000 Message-ID: <20040805200924.26103.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 30501] New: - Main.startAnt calls System.exit when finished X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30501 Main.startAnt calls System.exit when finished Summary: Main.startAnt calls System.exit when finished Product: Ant Version: 1.6.2 Platform: All OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Core AssignedTo: dev@ant.apache.org ReportedBy: epoulin@yahoo.com When calling ANT from an external Java process, I use the following: Main m = new Main(); m.startAnt(args, null, null); However, at the end of startAnt(), there is a System.exit(), whic closes my whole JVM (including my external Java process). I want to be able to call ANT, have it finish and then continue on with my Java process. ANT should not need a System.exit(). It can simply return control to the caller (be it a java process or the system environment). --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org