poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1513233 - /poi/trunk/build.xml
Date Mon, 12 Aug 2013 19:43:41 GMT
Author: centic
Date: Mon Aug 12 19:43:40 2013
New Revision: 1513233

URL: http://svn.apache.org/r1513233
Log:
Fix how coverage-reporting is triggered, was effectively disabled always currently because
of how Ant if/unless works

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1513233&r1=1513232&r2=1513233&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Mon Aug 12 19:43:40 2013
@@ -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}"/>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message