ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Paris" <rpj...@hotmail.com>
Subject Re: How grab output to "System.out"?
Date Fri, 30 Jan 2004 16:37:52 GMT
>System.setOut(new PrintStream(new DemuxOutputStream(project, false)))

When I use the above code, I get the following error (when I call 
project.executeTask( .. )):

Listsner attempted to access System.out - infinite loop terminated
at org.apache.tools.ant.Project.fireMessageLoggedEvent.....

Any idea why I'm getting this? Is there another way to grab that 
outputstream?

_________________________________________________________________
Check out the new MSN 9 Dial-up  fast & reliable Internet access with prime 
features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1


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


Mime
View raw message