You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/04/01 19:08:57 UTC
DO NOT REPLY [Bug 28135] New: -
task hangs Ant on some Windows configurations
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=28135>.
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=28135
<exec> task hangs Ant on some Windows configurations
Summary: <exec> task hangs Ant on some Windows configurations
Product: Ant
Version: 1.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: patrick.luby@sun.com
On some Windows configuration running a Sun JVM (version of the JVM does not
matter), the <exec> will hang when the spawned process finishes.
The hanging occurs because the JVM does not close the underlying pipes that the
org.apache.tools.ant.taskdefs.PumpStreamHandler class reads from. As a result,
the PumpStreamHandler instances will be forever blocked in a read() call.
Attached is a patch to the PumpStreamHandler class that allows Ant to resume
operation after a reasonable period of time when this occurs.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org