]> source.dussan.org Git - poi.git/commitdiff
Fix how coverage-reporting is triggered, was effectively disabled always currently...
authorDominik Stadler <centic@apache.org>
Mon, 12 Aug 2013 19:43:40 +0000 (19:43 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 12 Aug 2013 19:43:40 +0000 (19:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1513233 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index ace10eb2e86d85fe6fa31be54478a9e4d282a51d..d8018acf41261743c5d739fdec26098ecd3abd0a 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -656,6 +656,7 @@ under the License.
     </target>
 
     <target name="jacocotask" depends="">
+        <echo message="Coverage reporting: ${coverage.enabled}"/>
         <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml">
             <classpath refid="lib.jacoco"/>
         </taskdef>
@@ -665,7 +666,7 @@ under the License.
             description="Tests main, scratchpad and ooxml"/>
     <target name="test-all" depends="test,test-ooxml-lite,testcoveragereport"/>
 
-    <target name="testcoveragereport" depends="jacocotask" description="create test-report" xmlns:jacoco="antlib:org.jacoco.ant" if="${coverage.enabled}">
+    <target name="testcoveragereport" depends="jacocotask" description="create test-report" xmlns:jacoco="antlib:org.jacoco.ant" if="coverage.enabled">
         <delete dir="${coverage.dir}"/>
         <mkdir dir="${coverage.dir}"/>