B.49 ReflexiveTask

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

NameTypeDescriptionDefaultRequired
file String A single file to be processed.n/aYes (unless <fileset> provided)

B.49.1 Examples

<reflexive>
    <fileset dir=".">
        <include pattern="*.html">
    </fileset>
    <filterchain>
        <replaceregexp>
            <regexp pattern="\r(\n)" replace="\1"/>
        </replaceregexp>
    </filterchain>
</reflexive>
        

B.49.2 Supported Nested Tags: