Skip to content

Commit 7d8159c

Browse files
author
Brendan W. McAdams
committed
Fix build order
1 parent fa4a758 commit 7d8159c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ limitations under the License.
236236
</target>
237237

238238
<target name="bamboo-test" depends="compile,guard.noclover">
239-
<clover-setup/>
240239
<testng classpathref="classpath" outputdir="${testdir}" listeners="com.mongodb.util.TestNGListener, com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" haltonfailure="false" >
241240
<jvmarg value="-Xmx512M" />
242241
<xmlfileset dir="." includes="testng.xml"/>
@@ -326,6 +325,10 @@ limitations under the License.
326325
<target name="-check.clover">
327326
<available property="clover.installed" classname="com.cenqua.clover.CloverInstr" />
328327
</target>
328+
329+
<target name="with.clover" depends="guard.noclover">
330+
<clover-setup/>
331+
</target>
329332

330333
<target name="guard.noclover" depends="-check.clover" unless="clover.installed">
331334
<fail message="The target you are attempting to run requires Clover, which doesn't appear to be installed"/>

0 commit comments

Comments
 (0)