Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 3021 invoked from network); 22 Nov 2006 01:45:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Nov 2006 01:45:54 -0000 Received: (qmail 87263 invoked by uid 500); 22 Nov 2006 01:46:04 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 87030 invoked by uid 500); 22 Nov 2006 01:46:03 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 87019 invoked by uid 99); 22 Nov 2006 01:46:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 17:46:03 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 17:45:52 -0800 Received: by brutus.apache.org (Postfix, from userid 33) id AACD57142CD; Tue, 21 Nov 2006 17:45:32 -0800 (PST) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 41012] New: - SSHExec closing the System.out stream Message-ID: X-Bugzilla-Reason: AssignedTo Date: Tue, 21 Nov 2006 17:45:32 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41012 Summary: SSHExec closing the System.out stream Product: Ant Version: 1.6.5 Platform: Other OS/Version: All Status: NEW Severity: major Priority: P2 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: ritesh.trivedi@gmail.com SSHExec.java is using System.out and closing once the task is executed. Causes problem when ANT build script is executed using ANT Java api - since the System.out gets closed!! ByteArrayOutputStream out = new ByteArrayOutputStream(); TeeOutputStream tee = new TeeOutputStream(out, System.out); -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org