Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

Suppress redirector input stream?

Jeffrey E Care

2008-01-31

Replies:

Author LoginPost Reply
Is there a way to tell redirector to not pump stdin to a forked process?

In the WAS build we have to fork quite a few times (either with <java
fork="true"> or with <exec>); these forked processes do not expect any
input on their stdin, but I couldn't find a way to tell redirector to not
pump Ant's stdin to the forked processes. I took a thread dump and noticed
that we have a ton of threads that are blocked in StreamPumper.run,
presumably waiting to read input that isn't coming.

I've been able to hack a solution, but is there any official way of doing
this?

____________________________________________________________________________________________

Jeffrey E. (Jeff) Care
carej@(protected)
IBM WebSphere Application Server
WAS Release Engineering





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.