parallelfilter *----+------------+---------+----------+------------+---------* | *-------+-----+--------+------*There is an implicit
stopfilter
at the end of the nested
filterchain
<typedef name="parallelfilter" classname="net.sf.antcount.filters.ParallelFilter" classpath="antcount.jar" />Using inline definition with filterreader:
<filterreader classname="net.sf.antcount.filters.ParallelFilter" classpath="antcount.jar" />
The following will output what's being input without any change but it will also write into a file bbb.txt the same input, replacing all 'aaa' by 'bbb'.
<filterchain> <parallelfilter> <tokenfilter> <replacestring from="aaa" to="bbb" /> </tokenfilter> <echo file="bbb.txt"/> </parallelfilter> </filterchain>