JAL-3047 enable clover for testng
authorJim Procter <jprocter@issues.jalview.org>
Wed, 27 Jun 2018 17:17:29 +0000 (18:17 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 1 Aug 2018 09:53:54 +0000 (10:53 +0100)
build.xml

index 133941a..d86cbf3 100755 (executable)
--- a/build.xml
+++ b/build.xml
@@ -20,6 +20,9 @@
 <project name="jalviewX" default="usage" basedir="."
  xmlns:if="ant:if"
     xmlns:unless="ant:unless">
+  <taskdef classpath="${clover.jar}" resource="cloverlib.xml" if:set="clover.jar"/>
+  <clover-env if:set="clover.jar"/>
+
   <target name="help" depends="usage" />
   <target name="usage" depends="init">
     <echo message="~~~Jalview Ant build.xml Usage~~~~" />
       verbose="2">
       <classpath>
         <pathelement location="${testOutputDir}" />
+        <pathelement location="${clover.jar}" if:set="clover.jar"/>
         <path refid="test.classpath" />
       </classpath>
       <jvmarg value="--add-modules=java.se.ee" if:set="java9"/>