Bug 40998 - fixcrlf should allow removing trailing spaces
Summary: fixcrlf should allow removing trailing spaces
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.7.0
Hardware: PC other
: P2 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2006-11-19 00:37 UTC by Amichai
Modified: 2008-11-24 03:58 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Amichai 2006-11-19 00:37:01 UTC
The docs for the fixcrlf task says:
"There is an incompatibility between this and the previous version in the
handling of white space at the end of lines. This version does not remove
trailing whitespace on lines."

I do not know the reasons for removing this functionality, but in any case it
can be made an optional "trailingspaces" parameter which can be set to "asis" or
"remove" just like the "tab" parameter. u can leave the default at "asis" to
preserve current functionality. But why remove this functionality all together?
It's quite useful!