build.xml revision 7ecd52b03dc1f0b03ff8f522b4891c8531896c3d
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeCDDL HEADER START
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeThe contents of this file are subject to the terms of the
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeCommon Development and Distribution License (the "License").
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeYou may not use this file except in compliance with the License.
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeSee LICENSE.txt included in this distribution for the specific
64b763950bf11e9357facbd2b5666631a895c085Trond Norbyelanguage governing permissions and limitations under the License.
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeWhen distributing Covered Code, include this CDDL HEADER in each
64b763950bf11e9357facbd2b5666631a895c085Trond Norbyefile and include the License file at LICENSE.txt.
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeIf applicable, add the following below this CDDL HEADER, with the
64b763950bf11e9357facbd2b5666631a895c085Trond Norbyefields enclosed by brackets "[]" replaced with your own identifying
64b763950bf11e9357facbd2b5666631a895c085Trond Norbyeinformation: Portions Copyright [yyyy] [name of copyright owner]
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeCDDL HEADER END
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeCopyright 2007 Sun Microsystems, Inc. All rights reserved.
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeUse is subject to license terms.
cf1f7b5e81583dfca30972cfef322266a6928e7fKnut Anders Hatlen<project name="OpenGrok" default="jar" basedir=".">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <description>Builds, tests, and runs the project opengrok.</description>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <import file="nbproject/profiler-build-impl.xml"/> <!--
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye There exist several targets which are by default empty and which can be
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye used for execution of your tasks. These targets are usually executed
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye before and after some main targets. They are:
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -pre-init: called before initialization of project properties
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -post-init: called after initialization of project properties
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -pre-compile: called before javac compilation
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -post-compile: called after javac compilation
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -pre-compile-single: called before javac compilation of single file
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -post-compile-single: called after javac compilation of single file
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -pre-compile-test: called before javac compilation of JUnit tests
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -post-compile-test: called after javac compilation of JUnit tests
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -pre-compile-test-single: called before javac compilation of single JUnit test
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -post-compile-test-single: called after javac compilation of single JUunit test
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -pre-jar: called before JAR building
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -post-jar: called after JAR building
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -post-clean: called after cleaning build products
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye (Targets beginning with '-' are not intended to be called on their own.)
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye Example of inserting an obfuscator after compilation could look like this:
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <target name="-post-compile">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <fileset dir="${build.classes.dir}"/>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye </obfuscate>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye For list of available properties check the imported
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye Another way to customize the build is by overriding existing main targets.
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye The targets of interest are:
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -init-macrodef-javac: defines macro for javac compilation
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -init-macrodef-junit: defines macro for junit execution
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -init-macrodef-debug: defines macro for class debugging
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -init-macrodef-java: defines macro for class execution
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -do-jar-with-manifest: JAR building (if you are using a manifest)
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -do-jar-without-manifest: JAR building (if you are not using a manifest)
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye run: execution of project
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -javadoc-build: Javadoc generation
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye test-report: JUnit report generation
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye An example of overriding the target for project execution could look like this:
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <target name="run" depends="opengrok-impl.jar">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <exec dir="bin" executable="launcher.exe">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <arg file="${dist.jar}"/>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye Notice that the overridden target depends on the jar target and not only on
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye the compile target as the regular run target does. Again, for a list of available
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye properties which you can use, check the target you are overriding in the
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <property name="distname" value="opengrok"/>
780cc7d1b57609ff15fb283201e93cb501ebe9e6Jorgen Austvik <pathelement path="${user.home}/.ant/lib/findbugs/lib/"/>
780cc7d1b57609ff15fb283201e93cb501ebe9e6Jorgen Austvik <pathelement path="${java.class.path}findbugs/lib/"/>
0466de7c67573e1ce5e0733325c1e5383270f5d5Knut Anders Hatlen <available file="JFlex.jar" type="file" property="JFlex.present">
5a0c5ad4116f5a4dd0dd5a0a4e6d02973cd5eef9Lubos Kosco </available>
5a0c5ad4116f5a4dd0dd5a0a4e6d02973cd5eef9Lubos Kosco <fail unless="JFlex.present" message="Please download JFlex (http://jflex.de/) and put JFlex.jar it into /lib directory (or in ant classpath)."/>
1ed6b730409d4740e941142599767d5eac7e7d92Lubos Kosco <taskdef classname="JFlex.anttask.JFlexTask" name="jflex" classpath="lib/JFlex.jar"/>
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <property name="gensrcdir" value="generatedsrc"/>
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/plain/PlainXref.lex" destdir="${gensrcdir}"/>
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/c/CSymbolTokenizer.lex" destdir="${gensrcdir}"/>
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/c/CXref.lex" destdir="${gensrcdir}"/>
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/java/JavaSymbolTokenizer.lex" destdir="${gensrcdir}"/>
c7eb123c8b2081a261deff3c401fbf92ddba1b58Jorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/java/JavaXref.lex" destdir="${gensrcdir}"/>
5a0c5ad4116f5a4dd0dd5a0a4e6d02973cd5eef9Lubos Kosco <jflex file="src/org/opensolaris/opengrok/analysis/lisp/LispSymbolTokenizer.lex" destdir="${gensrcdir}"/>
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/lisp/LispXref.lex" destdir="${gensrcdir}"/>
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/tcl/TclSymbolTokenizer.lex" destdir="${gensrcdir}"/>
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/tcl/TclXref.lex" destdir="${gensrcdir}"/>
49f592091468eac515dde6139fbc8efa26056b0aJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/plain/PlainFullTokenizer.lex" destdir="${gensrcdir}"/>
49f592091468eac515dde6139fbc8efa26056b0aJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/plain/PlainSymbolTokenizer.lex" destdir="${gensrcdir}"/>
5a0c5ad4116f5a4dd0dd5a0a4e6d02973cd5eef9Lubos Kosco <jflex file="src/org/opensolaris/opengrok/analysis/plain/PlainXref.lex" destdir="${gensrcdir}"/>
49f592091468eac515dde6139fbc8efa26056b0aJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/plain/XMLXref.lex" destdir="${gensrcdir}"/>
49f592091468eac515dde6139fbc8efa26056b0aJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/sql/SQLXref.lex" destdir="${gensrcdir}"/>
49f592091468eac515dde6139fbc8efa26056b0aJorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/document/TroffXref.lex" destdir="${gensrcdir}"/>
945f4c3c36a15447913781dfb1894b34f2941c57Jorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/document/TroffFullTokenizer.lex" destdir="${gensrcdir}"/>
945f4c3c36a15447913781dfb1894b34f2941c57Jorgen Austvik <jflex file="src/org/opensolaris/opengrok/analysis/sh/ShSymbolTokenizer.lex" destdir="${gensrcdir}"/>
5a0c5ad4116f5a4dd0dd5a0a4e6d02973cd5eef9Lubos Kosco <jflex file="src/org/opensolaris/opengrok/analysis/sh/ShXref.lex" destdir="${gensrcdir}"/>
945f4c3c36a15447913781dfb1894b34f2941c57Jorgen Austvik <jflex file="src/org/opensolaris/opengrok/search/context/HistoryLineTokenizer.lex" destdir="${gensrcdir}"/>
945f4c3c36a15447913781dfb1894b34f2941c57Jorgen Austvik <jflex file="src/org/opensolaris/opengrok/search/context/PlainLineTokenizer.lex" destdir="${gensrcdir}"/>
1ed6b730409d4740e941142599767d5eac7e7d92Lubos Kosco failifexecutionfails="no"
1ed6b730409d4740e941142599767d5eac7e7d92Lubos Kosco outputproperty="changeset">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <redirector>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <outputfilterchain>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <filterreader classname="org.apache.tools.ant.filters.LineContainsRegExp">
3ef4850ec38b34ea6eda02c22a70ac98500584c1Trond Norbye </filterreader>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <tokenfilter>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <replaceregex pattern="^changeset:[^:]*:" replace=""/>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye </tokenfilter>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye </outputfilterchain>
225d5411e0f1f0e690e3553aad7a97c648d566a1HemangLavana </redirector>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <target name="-update-build-info" depends="-hg-get-changeset">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <mkdir dir="${build.classes.dir}/org/opensolaris/opengrok"/>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye file="${build.classes.dir}/org/opensolaris/opengrok/info.properties">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye </propertyfile>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <property name="coverage.dir" value="${basedir}/coverage"/>
7b046969a1b2565787df8ae3a8126359e8cd6fafTrond Norbye Create an empty manifest file so that nbproject/build-impl.xml
7b046969a1b2565787df8ae3a8126359e8cd6fafTrond Norbye notices that a manifest should be added to the jar file
7b046969a1b2565787df8ae3a8126359e8cd6fafTrond Norbye <!-- no attributes, main-class and class-path will be added later -->
7b046969a1b2565787df8ae3a8126359e8cd6fafTrond Norbye <target name="-pre-init" depends="-touch-manifest"/>
7b046969a1b2565787df8ae3a8126359e8cd6fafTrond Norbye Initialize a property holding a list of jar files on which
7b046969a1b2565787df8ae3a8126359e8cd6fafTrond Norbye <pathconvert property="opengrok.lib.files" pathsep=" ">
7b046969a1b2565787df8ae3a8126359e8cd6fafTrond Norbye <flattenmapper/>
7b046969a1b2565787df8ae3a8126359e8cd6fafTrond Norbye </pathconvert>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <!-- Update the manifest file with a classpath attribute -->
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <manifest file="${manifest.file}" mode="update">
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <attribute name="Class-Path" value="${opengrok.lib.files}"/>
9cf297d9a579835e9336d587eaee187ca0954767Knut Anders Hatlen <target name="-pre-jar" depends="-update-manifest-classpath,-update-build-info"/>
9cf297d9a579835e9336d587eaee187ca0954767Knut Anders Hatlen Copy the jars from lib to dist/lib manually if we don't have
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen the copylibs task from NetBeans
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <target name="-copy-lib-without-netbeans"
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen unless="manifest.available+main.class+mkdist.available">
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <fileset dir="." includes="${opengrok.lib.files}"/>
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <target name="-post-jar" depends="-copy-lib-without-netbeans">
9cf297d9a579835e9336d587eaee187ca0954767Knut Anders Hatlen <war destfile="${dist.war}" webxml="conf/web.xml">
9cf297d9a579835e9336d587eaee187ca0954767Knut Anders Hatlen <lib dir="${dist.dir}" includes="opengrok.jar"/>
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <lib dir="${dist.dir}/lib" includes="*.jar" excludes="servlet-api.jar,svn-javahl.jar"/>
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <java classname="org.opensolaris.opengrok.index.CommandLineOptions"
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen output="${dist.dir}/opengrok.1" failonerror="true" fork="true">
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <pathelement location="dist/opengrok.jar"/>
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <exec os="SunOS" executable="/usr/bin/pkgmk">
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <arg line="-o -d build -r . -v ${version} -f pkgdef/prototype"/>
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <exec os="SunOS" executable="/usr/bin/pkgtrans">
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <arg line="-s build /dist/OSOLopengrok-${version}.pkg OSOLopengrok"/>
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen <tar destfile="${dist.dir}/${distname}-${version}.tar.gz"
2dbc1835e0ae88ad102e2b9a85e5c7b5298b14b6Knut Anders Hatlen compression="gzip">
9cf297d9a579835e9336d587eaee187ca0954767Knut Anders Hatlen <tarfileset dir="." prefix="${distname}-${version}">
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye </tarfileset>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <tarfileset dir="." prefix="${distname}-${version}" mode="755">
523201f786f6b12b7cf54091c6e5be167878cbeeTrond Norbye </tarfileset>
523201f786f6b12b7cf54091c6e5be167878cbeeTrond Norbye <tarfileset dir="doc" prefix="${distname}-${version}">
523201f786f6b12b7cf54091c6e5be167878cbeeTrond Norbye </tarfileset>
523201f786f6b12b7cf54091c6e5be167878cbeeTrond Norbye <tarfileset dir="${dist.dir}" prefix="${distname}-${version}">
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <arg value="${dist.dir}/${distname}-${version}-src.tar.gz"/>
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <target name="-check_findbugs" description="Check that findbugs jar files are present">
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <available file="findbugs.jar" type="file" property="findbugs.jar.present">
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <filepath refid="findbugs.lib.search.path"/>
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <fail unless="findbugs.jar.present" message="Please install Findbugs findbugs.jar in lib-directory (or in ant classpath) to run Findbugs, see README"/>
cdf37a6f2e4e7ca653ef8e791cc8e720fa148a39Peter Bray <available file="findbugs-ant.jar" type="file" property="findbugs-ant.jar.present">
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <filepath refid="findbugs.lib.search.path"/>
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <fail unless="findbugs-ant.jar.present" message="Please install Findbugs findbugs-ant.jar in lib-directory (or in ant classpath) to run Findbugs, see README"/>
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <target name="findbugs" depends="dist, -check_findbugs" description="Runs Findbugs on the OpenGrok source code">
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <pathelement location="lib/findbugs/lib/findbugs.jar"/>
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <pathelement location="lib/findbugs/lib/findbugs-ant.jar"/>
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpathref="findbugs.lib"/>
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <findbugs projectname="OpenGrok" home="lib/findbugs" output="html" excludeFilter="tools/findbugs_filter.xml" outputFile="findbugs/findbugs.html" jvmargs="-Xmx512m">
a07b2874263e3c5f0cd2e83441719415d53059c2Knut Anders Hatlen <auxClasspath>
edcb01bf549171673fd0bb4239f2edfc7a810397Knut Anders Hatlen </auxClasspath>
edcb01bf549171673fd0bb4239f2edfc7a810397Knut Anders Hatlen <class location="${dist.dir}/opengrok.jar" />
edcb01bf549171673fd0bb4239f2edfc7a810397Knut Anders Hatlen <target name="-check_emma" description="Check that emma jar files are present">
edcb01bf549171673fd0bb4239f2edfc7a810397Knut Anders Hatlen <available file="emma.jar" type="file" property="emma.jar.present">
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <fail unless="emma.jar.present" message="Please install emma.jar in lib-directory (or in ant classpath) to run Emma, see README."/>
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <available file="emma_ant.jar" type="file" property="emma_ant.jar.present">
7ecd52b03dc1f0b03ff8f522b4891c8531896c3dJorgen Austvik <fail unless="emma_ant.jar.present" message="Please install emma_ant.jar in lib-directory (or in ant classpath) to run Emma, see README."/>
c7eb123c8b2081a261deff3c401fbf92ddba1b58Jorgen Austvik <target name="emma-instrument" depends="compile, -check_emma" description="Instruments the source code for Emma code coverage analysis">
c7eb123c8b2081a261deff3c401fbf92ddba1b58Jorgen Austvik <taskdef resource="emma_ant.properties" classpathref="emma.lib"/>
85e0595857351c6e22f75b8928967d14cb679ac5Jorgen Austvik metadatafile="${coverage.dir}/coverage.em"
c7eb123c8b2081a261deff3c401fbf92ddba1b58Jorgen Austvik mode="overwrite"
85e0595857351c6e22f75b8928967d14cb679ac5Jorgen Austvik <property name="test-sys-prop.emma.coverage.out.file" value="${coverage.dir}/coverage.ec"/>
85e0595857351c6e22f75b8928967d14cb679ac5Jorgen Austvik <property name="test-sys-prop.emma.coverage.out.merge" value="true"/>
2e3c025fdd5908a27cc82eb1d5346368a8be4e0dJorgen Austvik <target name="emma-report" description="Analyze" depends="-check_emma">
c7eb123c8b2081a261deff3c401fbf92ddba1b58Jorgen Austvik <taskdef resource="emma_ant.properties" classpathref="emma.lib"/>
c7eb123c8b2081a261deff3c401fbf92ddba1b58Jorgen Austvik <!-- collect all EMMA data dumps (metadata and runtime): -->
1f17ba9e3c026d75f488227451416bd72a222afeTrond Norbye <infileset dir="${coverage.dir}" includes="*.em, *.ec"/>