Attribute | Description | Required |
---|---|---|
[common EMMA task attributes ] | No | |
mergefile , outfile , tofile , file | Overrides the location to store merged data
(default: file coverage.es in the current
directory). | No. |
Element | Description | Required |
---|---|---|
[common EMMA task nested elements ] | No | |
<infileset> , <fileset> | A FileSet that selects an arbitrary mix of metadata and coverage data to be merged. | Yes |
<infileset>
nested elements. <infileset>
nested elements are configured as
any other FileSet
data type in ANT. Additionally, EMMA's version of
FileSet data type allows
file
attribute in ANT versions earlier than
1.5.x (which is useful for selecting a single file by its known name without
using an explicit PatternSet).
Collect all EMMA metadata and runtime coverage data files and merge them into a single session file:
<emma> <merge outfile="${coverage.dir}/coverage.es" > <fileset dir="${coverage.dir}" includes="*.em, *.ec" /> </merge> </emma>
Compact a single data file:
<emma> <merge outfile="${coverage.dir}/coverage.es" > <fileset file="${coverage.dir}/coverage.es" /> </merge> </emma>