ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50270] New: No way to control whether SSHExec prints output to stdout
Date Mon, 15 Nov 2010 04:19:05 GMT

           Summary: No way to control whether SSHExec prints output to
           Product: Ant
           Version: 1.8.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks

Created an attachment (id=26296)
 --> (
Allow "suppressStdout"

Currently, SSHExec prints the exec's output to stdout regardless of whether the
user asked for the output to be stored in a property, or in a file. This leads
to undesirable results when the output is very long; if I'm writing an Ant
buildfile and would like output to be redirected to a file, in 99.99% of the
cases I would *not* like to see that very same output in stdout, especially
when that output is long.

I suggest adding a property called "suppressStdout" (defaults to "false") to
control this.

I have attached a patch to SSHExec; regrettably can't afford the time to
thoroughly test it but it looks simple enough.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message