You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2009/01/20 01:23:54 UTC
svn commit: r735887 - in /hadoop/hbase/trunk: CHANGES.txt build.xml
Author: stack
Date: Mon Jan 19 16:23:54 2009
New Revision: 735887
URL: http://svn.apache.org/viewvc?rev=735887&view=rev
Log:
HBASE-1139 Update Clover in build.xml
Modified:
hadoop/hbase/trunk/CHANGES.txt
hadoop/hbase/trunk/build.xml
Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=735887&r1=735886&r2=735887&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Mon Jan 19 16:23:54 2009
@@ -10,6 +10,7 @@
online as difference between whats open and whats on filesystem
(Samuel Guo via Stack)
HBASE-1130 PrefixRowFilter (Michael Gottesman via Stack)
+ HBASE-1139 Update Clover in build.xml
Release 0.19.0 - Unreleased
INCOMPATIBLE CHANGES
Modified: hadoop/hbase/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/build.xml?rev=735887&r1=735886&r2=735887&view=diff
==============================================================================
--- hadoop/hbase/trunk/build.xml (original)
+++ hadoop/hbase/trunk/build.xml Mon Jan 19 16:23:54 2009
@@ -75,7 +75,8 @@
<property name="javadoc.packages" value="org.apache.hadoop.hbase.*"/>
<property name="jarfile" value="${build.dir}/${final.name}.jar" />
- <available property="clover.present" classname="com.cenqua.clover.tasks.CloverReportTask" />
+ <property name="clover.jar" location="${clover.home}/lib/clover.jar"/>
+ <available property="clover.present" file="${clover.jar}"/>
<!-- check if clover reports should be generated -->
<condition property="clover.enabled">
@@ -203,10 +204,10 @@
<echo message="Setting jspc.notRequired property. jsp pages generated once per ant session only" />
</target>
- <target name="clover" depends="clover.setup, clover.info" description="Instrument the Unit tests using Clover. Requires a Clover license and clover.jar in the ANT classpath. To use, specify -Drun.clover=true on the command line."/>
+ <target name="clover" depends="clover.setup, clover.info" description="Instrument the Unit tests using Clover. To use, specify -Dclover.home=<base of clover installation> -Drun.clover=true on the command line."/>
<target name="clover.setup" if="clover.enabled">
- <taskdef resource="clovertasks"/>
+ <taskdef resource="cloverlib.xml" classpath="${clover.jar}"/>
<mkdir dir="${clover.db.dir}"/>
<clover-setup initString="${clover.db.dir}/hbase_coverage.db">
<fileset dir="src" includes="java/**/*"/>
@@ -223,8 +224,8 @@
<fail unless="clover.present">
##################################################################
Clover not found.
- Please make sure clover.jar is in ANT_HOME/lib, or made available
- to Ant using other mechanisms like -lib or CLASSPATH.
+ Please specify -Dclover.home=<base of clover installation>
+ on the command line.
##################################################################
</fail>
</target>
@@ -394,6 +395,7 @@
<pathelement location="${build.test}" />
<path refid="classpath"/>
<pathelement location="${build.dir}"/>
+ <pathelement path="${clover.jar}"/>
</path>
<!--'compile-test' used to depend on 'compile' but removed it. Hudson doesn't like