DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Alexey changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #34 from Alexey 2011-09-30 14:23:19 UTC --- Using Ant 1.8.2 I still reproduce the error. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. You are the assignee for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 --- Comment #35 from Stefan Bodewig 2011-09-30 15:17:36 UTC --- (In reply to comment #34) > Using Ant 1.8.2 I still reproduce the error. How? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. You are the assignee for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 --- Comment #36 from Rohit Kelapure 2012-02-22 20:19:22 UTC --- Created attachment 28364 --> https://issues.apache.org/bugzilla/attachment.cgi?id=28364 patch to StreamPumper.run to make it responsive to interrupts I ran into the same issue and was able to get the ant JVM unstuck by modifying the org.apache.tools.ant.taskdefs.StreamPumper.run() to make it more responsive to interrupt conditions. Please see my diff to /ant-trunk/org/apache/tools/ant/taskdefs/StreamPumper.java and let me know if addreses any pending issues. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. You are the assignee for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 --- Comment #37 from Rohit Kelapure 2012-02-22 20:46:06 UTC --- Created attachment 28365 --> https://issues.apache.org/bugzilla/attachment.cgi?id=28365 revised earlier patch slightly ... does the write more efficiently revised earlier patch -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. You are the assignee for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Rohit Kelapure changed: What|Removed |Added Attachment #28365|0 |1 is patch|| Attachment #28365|application/octet-stream|text/plain mime type|| -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. You are the assignee for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Rohit Kelapure changed: What|Removed |Added CC||kelap...@gmail.com -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Stefan Bodewig <[EMAIL PROTECTED]> changed: What|Removed |Added AssignedTo|notifications@ant.apache.org|[EMAIL PROTECTED] Status|ASSIGNED|NEW -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. You are the assignee for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Stefan Bodewig <[EMAIL PROTECTED]> changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|1.6 |1.8.0 --- Comment #29 from Stefan Bodewig <[EMAIL PROTECTED]> 2008-11-06 06:34:25 PST --- a lng time, I know. Ant's code has changed a bit, so some extra work has become necessary. That other classes are now using StreamPumper as well didn't help either. With the original patch (even if adapted) several unit tests of Ant would hang and never return - I guess this has been true seven years ago as well. One major problem I faced was that available() returns 0 on a closed stream on some VMs (it did on Suns 1.4.2 for Windows, for example) and thus the available trick doesn't work unless you are sure you are going to interrupt the thread running StreamPumper eventually. I've also noticed that the approach using available impacts performance considerably, so I've restricted it to the platform (Windows) where it is needed (like the original patch did, but for a different reason). svn revision 711860 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=711860 ) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Stefan Bodewig changed: What|Removed |Added CC||s.fra...@bebbosoft.de --- Comment #30 from Stefan Bodewig 2009-05-07 02:27:32 PST --- *** Bug 46805 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 --- Comment #31 from Stefan Franke 2009-05-07 02:43:24 PST --- I just want to mention my fix which is posted at bug 46805. (sorry for creating a duplicate) This bug is caused by closing unowned streams: new XyzStream() --> close it getXyzStream() --> don't close it, close/destroy the underlying object -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Stefan Franke changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #32 from Stefan Franke 2009-05-07 02:45:37 PST --- reopened since an unresolved bug is merged into this. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Stefan Bodewig changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Comment #33 from Stefan Bodewig 2009-05-11 06:39:55 PST --- if there really is an issue caused by closing the streams than bug 46805 is no duplicate of bug 5003 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Jesse Glick changed: What|Removed |Added Depends on||48746 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Bug 5003 depends on bug 48746, which changed state. Bug 48746 Summary: exec task sometimes inserts extraneous newlines https://issues.apache.org/bugzilla/show_bug.cgi?id=48746 What|Old Value |New Value Status|REOPENED|RESOLVED Resolution||FIXED -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug.
DO NOT REPLY [Bug 5003] exec task does not return after executed command finished on Windows only
https://issues.apache.org/bugzilla/show_bug.cgi?id=5003 Bug 5003 depends on bug 48746, which changed state. Bug 48746 Summary: exec task sometimes inserts extraneous newlines https://issues.apache.org/bugzilla/show_bug.cgi?id=48746 What|Old Value |New Value Status|RESOLVED|REOPENED Resolution|FIXED | -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug.