ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10402] New: - adding the ability of html like whitespace preservence to echo task
Date Tue, 02 Jul 2002 12:15:11 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message