From 78665403c5b4055162f2df20fa7da3f353da8f8c Mon Sep 17 00:00:00 2001 From: Dominik Stadler <centic@apache.org> Date: Sun, 16 Mar 2014 19:46:46 +0000 Subject: [PATCH] Exclude some generated classes from coverage measurements, now instruction coverage is at around 72%, also update JaCoCo to latest version 0.6.5 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578146 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.xml b/build.xml index d0cde1874..672b054e6 100644 --- a/build.xml +++ b/build.xml @@ -153,8 +153,8 @@ under the License. <property name="ooxml.jsr173.url" value="${repository.m2}/maven2/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/> <!-- coverage libs --> - <property name="jacoco.zip" location="${main.lib}/jacoco-0.6.4.201312101107.zip"/> - <property name="jacoco.url" value="${repository.m2}/maven2/org/jacoco/jacoco/0.6.4.201312101107/jacoco-0.6.4.201312101107.zip"/> + <property name="jacoco.zip" location="${main.lib}/jacoco-0.6.5.201403032054.zip"/> + <property name="jacoco.url" value="${repository.m2}/maven2/org/jacoco/jacoco/0.6.5.201403032054/jacoco-0.6.5.201403032054.zip"/> <property name="asm.jar" location="${main.lib}/asm-all-4.0.jar"/> <property name="asm.url" value="${repository.m2}/maven2/org/ow2/asm/asm-all/4.0/asm-all-4.0.jar"/> @@ -747,7 +747,10 @@ under the License. </group> <group name="Scratchpad"> <classfiles> - <fileset dir="${scratchpad.output.dir}"/> + <fileset dir="${scratchpad.output.dir}"> + <exclude name="org/apache/poi/hwpf/model/types/*.class"/> + <exclude name="org/apache/poi/hdf/model/hdftypes/definitions/*.class"/> + </fileset> </classfiles> <sourcefiles encoding="UTF-8"> <fileset dir="${scratchpad.src}"/>