|
@@ -5,9 +5,15 @@
|
5
|
5
|
<property name="clover.jar" location="lib/clover.jar"/>
|
6
|
6
|
<taskdef resource="cloverlib.xml" classpath="${clover.jar}"/>
|
7
|
7
|
<taskdef resource="cloverjunitlib.xml" classpath="${clover.jar}"/>
|
8
|
|
- <available property="clover.installed" classname="com.cenqua.clover.CloverInstr" />
|
9
|
8
|
<available file="/usr/bin/xvfb-run" property="has.xvfb"/>
|
10
|
9
|
|
|
10
|
+ <condition property="clover.installed">
|
|
11
|
+ <and>
|
|
12
|
+ <available classname="com.cenqua.clover.CloverInstr"/>
|
|
13
|
+ <available file="lib/clover.license"/>
|
|
14
|
+ </and>
|
|
15
|
+ </condition>
|
|
16
|
+
|
11
|
17
|
<target name="with.clover" depends="clean" if="clover.installed"
|
12
|
18
|
description="Set up Clover to instrument tests.">
|
13
|
19
|
<clover-clean/>
|