ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50399] New: DefaultInputHandler produces unnecessary newline in prompt
Date Thu, 02 Dec 2010 10:31:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50399

           Summary: DefaultInputHandler produces unnecessary newline in
                    prompt
           Product: Ant
           Version: 1.8.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: 1983-01-06@gmx.net


I recently started using the Input Task and found an annoyance:
If the input task prompts for the input, it produces a newline after the
prompt. My input goes in a new line. This is ugly.
If you take a look at like 53
http://svn.apache.org/viewvc/ant/core/tags/ANT_181/src/main/org/apache/tools/ant/input/DefaultInputHandler.java?view=markup#l53
You just need to replace println with print.
For those who really need a new line, they can add \n or ${line.sep...}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message