ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: Log Flushing
Date Mon, 18 Apr 2011 21:13:00 GMT
In fact we have a number of open bugs concerning the handling of streams 
in exec and java :

[1] Pipe Broken
[2] Exec task may mix the stderr and stdout output while logging it
[3] exec task sometimes inserts extraneous newlines
[4] read on System.in hangs for forked java task

Antoine

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=48789
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=50507
[3] https://issues.apache.org/bugzilla/show_bug.cgi?id=48746
[4] https://issues.apache.org/bugzilla/show_bug.cgi?id=50960


On 4/18/2011 4:03 PM, Antoine Levy-Lambert wrote:
> there is an interesting patch in this bug report :
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=50507
>
> Regards,
>
> Antoine
>
> On 4/18/2011 4:14 AM, Nicolas Lalevée wrote:
>> Le 18 avr. 2011 à 08:10, Conor MacNeill a écrit :
>>
>>> Nicolas,
>>>
>>> The change you introduced to address this bug
>>>
>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=50960
>>>
>>> really breaks my output when running java processes because the
>>> autoflush is flushing at 128 byte boundaries. The log output stream
>>> always writes a line when flush is called.
>>>
>>> Here is an example:
>>>
>>>      [java] 15:53:53 WARN  - Package Scanner found duplicates for
>>> package 'org.w3c.dom' with different ver
>>>      [java] sions. Files: xom-1.1.jar and xmlbeans-2.3.0.jar
>>>      [java]   '/Users/conor/work/fedefault/output/dist/lib/xom-1.1.jar'
>>>      [java]   '/Users/conor/wor
>>>      [java] k/fedefault/output/dist/lib/xmlbeans-2.3.0.jar'
>> hum...
>> I guess that more than a simple "autoflush" we should have something 
>> like an "autoflush-on-end-of-line".
>> I'll try something.
>>
>> Nicolas
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message