Merges files together based on a grouper and a sequencer.
Grouper
A grouperis required for the filter to know
which files are to be grouped.
Sequencer
A sequenceris required to determine the
sequence for each group to be merged into.
Mapper
An Ant mapper is optional if you want to remap the file name(s) after the merge.
<merge> <allGrouper/> <fileNameSequencer/> </merge>Merges all files by parent directory by their file name mapped to a new file name:
<merge> <parentDirGrouper/> <fileNameSequencer/> <mapper type="glob" from="*.txt" to="*.bak"/> </merge>