Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 15203 invoked from network); 30 Jan 2004 16:56:37 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Jan 2004 16:56:37 -0000 Received: (qmail 31834 invoked by uid 500); 30 Jan 2004 16:55:58 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 31807 invoked by uid 500); 30 Jan 2004 16:55:58 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 31729 invoked from network); 30 Jan 2004 16:55:57 -0000 Received: from unknown (HELO hotmail.com) (64.4.11.29) by daedalus.apache.org with SMTP; 30 Jan 2004 16:55:57 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 30 Jan 2004 08:37:52 -0800 Received: from 66.114.77.164 by by7fd.bay7.hotmail.msn.com with HTTP; Fri, 30 Jan 2004 16:37:52 GMT X-Originating-IP: [66.114.77.164] X-Originating-Email: [rpjava@hotmail.com] X-Sender: rpjava@hotmail.com From: "Robert Paris" To: user@ant.apache.org Bcc: Subject: Re: How grab output to "System.out"? Date: Fri, 30 Jan 2004 16:37:52 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 30 Jan 2004 16:37:52.0790 (UTC) FILETIME=[67E37B60:01C3E74F] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >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