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 Thu, 28 Aug 2003 14:37:24 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-28 14:37 -------
That's a good point about exit codes; I've probably seen some individual
commands  on more common OS's before that do strange things with exit codes. How
about if an attribute was added to the task that just defaulted to zero but
allowed the user to override what exit code constituted a success like
"successcode=0" or =1, or =127, or whatever makes sense for the command/OS that
you are using?

Patch for code (SSHExec.java) and documentation (sshexec.html) included if
interested.

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


Mime
View raw message