The ReflexiveTask performs operations on files. It is essentially a convenient way to
transform (using filter chains) files without copying them.
Table B.51: Attributes
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
file
|
String
| A single file to be processed. | n/a | Yes (unless <fileset> provided) |
<reflexive>
<fileset dir=".">
<include pattern="*.html">
</fileset>
<filterchain>
<replaceregexp>
<regexp pattern="\r(\n)" replace="\1"/>
</replaceregexp>
</filterchain>
</reflexive>