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 14863] - messageLogged() causes infinite loop?
Date Tue, 26 Nov 2002 16:26:12 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=14863>.
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=14863

messageLogged() causes infinite loop?





------- Additional Comments From bodewig@apache.org  2002-11-26 16:26 -------
Pretty much what you'd expect when you know how Ant works - and pretty confusing
if you don't.

Ant redirects System.out and System.err to capture all task output and send it
to the listeners.  Everything writtem to those streams will be sent to
messageLogged -> your infinite loop.

The only way around this probably is to properly document the fact.  Maybe Ant
should make the original streams available to listeners as well.

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


Mime
View raw message