<fixcrlf>

The <fixcrlf> task converts files to adhere to the local conventions. More specifically, it enables you to bring a set of files to the same standard in terms of tabs, end-of-line characters, and end-of-file characters. This is particularly useful if members of the development team are working on different platforms. Table 4.36 details the attributes that enable you to specify the behavior of the task.

Table 4.36. Table of <fixcrlf> Attributes
Attributes Description
Required
srcdir The name of the directory containing the files to be fixed.
Optional
cr This attribute is deprecated. eol should be used.
defaultexcludes If false, default excludes will not be used. Defaults to true.
destdir The name of the destination directory where corrected ...

Get Ant Developer’s Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.