You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/07/02 14:15:11 UTC

DO NOT REPLY [Bug 10402] New: - adding the ability of html like whitespace preservence to echo task

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

adding the ability of html like whitespace preservence to echo task 

           Summary: adding the ability of html like whitespace preservence
                    to echo task
           Product: Ant
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: wtff@freenet.de


In order to make ant scripts look nicer and at the same time allowing for nice 
screen outputs, the echo task should maybe get an attribute by which one could 
specify that the whitespace within the text should be transformed in an html 
like way:

Consider the following:

    <echo>
        Hello World,
        line with lt. 80 digits,
        line two w. lt. 80 digits,
        a.s.o.
    </echo>

Echo will print the text with leading whitespacees. Within html, several 
whitespace characters before and after a linebreak are condensed into a single 
space. (And in xml schema one can specify such an option as well)

Maybe it would make sense to have s.th. similar for the echo task as well.
A second mode, which would condense the sequence of (whitespace + linebreak + 
whitespace) into a single space like in html or into a single linebreak.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>