ICU-12612 Removed unused/broken clover code coverage taget from build.xml

X-SVN-Rev: 39807
This commit is contained in:
Yoshito Umaoka 2017-03-15 00:43:54 +00:00
parent 8263cc5d75
commit 6b64c3bbb8

View File

@ -1141,88 +1141,6 @@
</target>
<!-- Clover code coverage target -->
<property name="clover.out.dir" value="${out.dir}/clover"/>
<property name="clover.jar" location="${env.CLOVER_DIR}/clover.jar"/>
<taskdef resource="cloverlib.xml" classpath="${clover.jar}" onerror="ignore"/>
<target name="codeCoverage" depends="clean" description="Generate code coverage report with clover">
<!-- Set up clover -->
<mkdir dir="${clover.out.dir}"/>
<clover-setup initstring="${clover.out.dir}/clover.db">
<files>
<exclude name="**/dev/**/*.java"/>
</files>
<methodContext name="API" regexp="(.* )?public .*"/>
</clover-setup>
<!-- Build components with clover instrumentation -->
<ant dir="${icu4j.core.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.collate.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.charset.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.currdata.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.langdata.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.regiondata.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.translit.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.test-framework.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.core-tests.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.collate-tests.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.charset-tests.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<ant dir="${icu4j.translit-tests.dir}" inheritAll="false" inheritRefs="true">
<property name="build.compiler" value="${build.compiler}"/>
</ant>
<!-- Run the test suites -->
<java classname="com.ibm.icu.dev.test.TestAll" fork="yes" failonerror="true">
<classpath>
<pathelement location="${icu4j.core.jar}"/>
<pathelement location="${icu4j.collate.jar}"/>
<pathelement location="${icu4j.charset.jar}"/>
<pathelement location="${icu4j.currdata.jar}"/>
<pathelement location="${icu4j.langdata.jar}"/>
<pathelement location="${icu4j.regiondata.jar}"/>
<pathelement location="${icu4j.translit.jar}"/>
<pathelement location="${icu4j.test-framework.jar}"/>
<pathelement location="${icu4j.core-tests.jar}"/>
<pathelement location="${icu4j.collate-tests.jar}"/>
<pathelement location="${icu4j.charset-tests.jar}"/>
<pathelement location="${icu4j.translit-tests.jar}"/>
<pathelement location="${icu4j.testall.jar}"/>
<pathelement location="${clover.jar}"/>
</classpath>
</java>
<!-- Generate HTML coverage report -->
<!-- <clover-html-report outdir="${clover.out.dir}/html" title="ICU4J Code Coverage"/> -->
<clover-report>
<current outfile="${clover.out.dir}/html" title="ICU4J Code Coverage">
<format type="html" filter="assert" />
</current>
</clover-report>
</target>
<!-- Release management targets -->
<target name="checktags" depends="info, build-tools" description="Check API tags before release">
<javadoc source="1.6"