Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 19348 invoked from network); 28 Mar 2005 21:20:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Mar 2005 21:20:31 -0000 Received: (qmail 10427 invoked by uid 500); 28 Mar 2005 21:20:30 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 10117 invoked by uid 500); 28 Mar 2005 21:20:29 -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 10103 invoked by uid 99); 28 Mar 2005 21:20:29 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 28 Mar 2005 13:20:28 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id 7058928A; Mon, 28 Mar 2005 23:20:25 +0200 (CEST) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 31928] - Ant task is stopped but a forked child process is not terminated X-Bugzilla-Reason: AssignedTo CC Message-Id: <20050328212025.7058928A@ajax.apache.org> Date: Mon, 28 Mar 2005 23:20:25 +0200 (CEST) X-Virus-Checked: Checked X-Spam-Rating: minotaur.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=31928 jglick@netbeans.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dev@ant.apache.org AssignedTo|dev@ant.apache.org |jglick@netbeans.org OS/Version|other |All Platform|PC |All Summary|ant java task is terminated |Ant task is stopped |but a forked child process |but a forked child process |is not terminated |is not terminated ------- Additional Comments From jglick@netbeans.org 2005-03-28 23:20 ------- #4717969 is not much of a bug, or at least it can be easily worked around - and it seems Ant *does* work it around it (with a shutdown hook) for normal command-line usage. For usage in an embedded environment such as within an IDE, the VM may not be terminated, so you need to also kill a forked child process if the thread that ran gets killed (ThreadDeath). I have a simple patch which appears to fix the problem on Linux and Windows. Note: on Linux, if the forked process uses a shutdown hook, that will still be run, but not so on Windows. Probably a bit of platform-specific variability outside of Ant's control. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are on the CC list for the bug, or are watching someone who is. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org