https://issues.apache.org/bugzilla/show_bug.cgi?id=48746

Jesse Glick <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                URL|                            |http://netbeans.org/bugzill
                   |                            |a/show_bug.cgi?id=186629
                 CC|                            |[email protected]
             Blocks|                            |5003
         Resolution|FIXED                       |

--- Comment #4 from Jesse Glick <[email protected]> 2010-05-25 12:46:15 EDT 
---
The patch causes a regression in stream handling inside NetBeans: under some
circumstances, an <exec> gobbles up all subsequent output from Ant! I recommend
this patch be rolled back for 1.8.2.

I am not sure if there is any reliable fix for the originally reported bug; Ant
tries to log messages corresponding to complete lines, even in case the final
\n is missing; but if it receives some characters without a newline it simply
cannot know whether or not more characters are coming in the same line, so it
just waits a short while to see if any arrive. Increasing
StreamPumper.POLL_INTERVAL might reduce the likelihood of problems (untested).

Why would a test be checking the output of Ant's log, anyway? This should be
considered informational. You can capture the output of <exec> to a file if it
must be exact.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to