ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22347] - java task with BufferedReader hangs
Date Tue, 12 Aug 2003 14:17:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22347>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22347

java task with BufferedReader hangs





------- Additional Comments From literakl@systinet.com  2003-08-12 14:17 -------
Thank you for your helpful explanation. Initially task had following definition:

&lt;java classname="demo.Finder" fork="yes">

I tried to change value of the attribute fork to no, same result and behaviour.
Finally I removed the attribute at all:

&lt;java classname="demo.Finder">

Well, it couldn't read from standard input either and it hanged. But when I
killed ant, at least it has written the message to standard output. 

Basicly, if I understand it well, it is better not to read anything from
standard input from ant. Am I right? Thank you.

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


Mime
View raw message