B.50 ReflexiveTask

The ReflexiveTask performs operations on files. It is essentially a convenient way to transform (using filter chains) files without copying them.

Table B.52: Attributes

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

B.50.1 Examples

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

B.50.2 Supported Nested Tags: