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=24169>.
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=24169

scp and sshexec failonerror documentation is reversed and wrong

           Summary: scp and sshexec failonerror documentation is reversed
                    and wrong
           Product: Ant
           Version: 1.6Beta
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Documentation
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


>From scp (sshexec is identical):
failonerror     Log a warning message, but do not stop the build,
                when the transfer does not work.        No; defaults to true.

The usual meaning of failonerror is whether to throw a buildexception if
something goes wrong (when set to true) or just log a warning (when set to
false). The code behaves according the usual meaning, so I think the message is
just the wrong way around. (see tasks like cvs and mail for "usual" examples)

sshexec failonerror doc is obviously a cut and paste & needs correction anyway.

scp should be something like:
Whether to halt the build if the transfer fails.

sshexec should be something like:
Whether to halt the build if the command does not complete successfully.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to