DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41012>.
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
|