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 19237] - SSHExec task should fail if remote command fails
Date Mon, 25 Aug 2003 04:13:25 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=19237>.
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=19237

SSHExec task should fail if remote command fails





------- Additional Comments From rob@bigdis.com  2003-08-25 04:13 -------
I've included two patches; one for SSHExec.java on the ant side, and one for
jsch (against .16) that allow retrieval of the status codes. It's likely an
awful hack, but it does seem to work. Of course, this would have to incorporated
into jsch itself if the ant patch were to be included (assuming that the method
I used on the jsch side is correct and okay).

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


Mime
View raw message