DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31928>.
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


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]
         AssignedTo|[EMAIL PROTECTED]          |[EMAIL PROTECTED]
         OS/Version|other                       |All
           Platform|PC                          |All
            Summary|ant java task is terminated |Ant <java> task is stopped
                   |but a forked child process  |but a forked child process
                   |is not terminated           |is not terminated




------- Additional Comments From [EMAIL PROTECTED]  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 <java> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to