]> granicus.if.org Git - icu/commitdiff
ICU-12612 Removed unused/broken clover code coverage taget from build.xml
authorYoshito Umaoka <y.umaoka@gmail.com>
Wed, 15 Mar 2017 00:43:54 +0000 (00:43 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Wed, 15 Mar 2017 00:43:54 +0000 (00:43 +0000)
X-SVN-Rev: 39807

icu4j/build.xml

index dcf0caabb2ded3c9290d276df58eaa83e46c449f..a604b95d4c29d647c2d53a93dd9d3a84d82248f7 100644 (file)
 
     </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"