filterchain

Description

The filterchain type contains a collection of filters that will be applied to a task. Filters are used to transform the task's output, and are usually used when copying files.

Nested Elements

filters

The filters to apply.

See filters for a complete list of filters that can be applied.

Examples

Example 13.  Copy a file and replace "%TODAY%" with the current date

<copy file="input.txt" tofile="processed.txt"> <filterchain> <replacetokens prefix="%" suffix="%"> <token key="TODAY" value="${ date::get-current-date() }" /> </replacetokens> </filterchain> </copy>