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 Sun, 24 Aug 2003 22:43:31 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-24 22:43 -------
This looks to me to be a deficiency in the underlying jsch API. The code is in
that library to get the exit status (there's a commented out System.out.println
for the proper exit status in the Session.java file where they handle the ssh
exit_status message), but it seems to be thrown away with no way to return it to
the caller.

This is probably not too hard to fixup, but it does require (I think) modifying
the jsch library.

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


Mime
View raw message