You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/12/02 11:31:11 UTC

DO NOT REPLY [Bug 50399] New: DefaultInputHandler produces unnecessary newline in prompt

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.

DO NOT REPLY [Bug 50399] DefaultInputHandler produces unnecessary newline in prompt

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50399

Antoine Levy-Lambert <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.8.1                       |1.8.2

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