ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50400] New: SecureHandler does not write to std err but to std out
Date Thu, 02 Dec 2010 10:43:56 GMT

           Summary: SecureHandler does not write to std err but to std out
           Product: Ant
           Version: 1.8.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks

The secure input handles ouput looks like this:
Please enter the Tomcat Manager App admin password:

     [echo] Starting Tomcat customization...

The [input] is missing.
The default input handler does has the input tag as prefix. The difference is
that def input handler prompts on System.err. The Console docs do not reveal
where the console is attached to.
Anyway, this problem can be fixed.
In that line
you see the readPassword with args is called. If you replace the line with:

and now invoke reflectively the readPassword method without any parameters,
this should work as the other input handler.

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

View raw message