> > 
> > Is there someway I can tell ant to periodically flush output 
> > streams of
> > exec'd processes?
> > 
> 
> From looking at the source, it appears that:
> 
> (1) Execute.class does the real work
> (2) Execute takes an ExecuteStreamHandler to process the 
> stdout and stderr
> streams
> (3) LogStreamHandler is the most common ExecuteStreamHandler
> (4) LogStreamHandler wraps stdout and stderr in 
> LogOutputStream objects and
> starts new Thread foreach stream
> (5) LogOutputStream sends each line out output to the Task.log method
> (6) Task.log sends to Project.log
> 
> Therefore, I'm making an educated guess that the behavior you want is
> already the default (it seems so for my processes).  Could it 
> be that your
> process just takes awhile to output anything?
> 


Doesn't appear to be the case.  I could be missing something, but the only
time streams are explicitly flushed is one a task completes.  There doesn't
appear to be periodic stream flushing in 1.4.1 release of the code.

Mike




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to