Bug 57111 - <echo> and <fail>: "prettify" option
Summary: <echo> and <fail>: "prettify" option
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-18 04:43 UTC by Matthew Cline
Modified: 2014-10-18 04:43 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Cline 2014-10-18 04:43:36 UTC
If I use <echo> or <fail> with a multi-line message, and the message text is indented like normal for an XML file, then the first line of the message is printed out unindented, but the rest are printed indented (see http://stackoverflow.com/questions/26417941).  I can not indent the lines within the build.xml file, but that looks ugly.  It would be nice if there was some sort of "prettify" parameter which could be given to those tasks which would caused the indentation to be stripped out.  Also doing some sort of line wrapping, so that lines of text would be joined together and then split at word boundaries when reaching column 80, would be nice.