Permalink
Browse files

Fix build order

  • Loading branch information...
1 parent fa4a758 commit 7d8159c58469056317fe8878c6c96633d34957cf @bwmcadams bwmcadams committed Oct 26, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 build.xml
View
@@ -236,7 +236,6 @@ limitations under the License.
</target>
<target name="bamboo-test" depends="compile,guard.noclover">
- <clover-setup/>
<testng classpathref="classpath" outputdir="${testdir}" listeners="com.mongodb.util.TestNGListener, com.cenqua.clover.tasks.testng.CloverOptimizedTestSelector" haltonfailure="false" >
<jvmarg value="-Xmx512M" />
<xmlfileset dir="." includes="testng.xml"/>
@@ -326,6 +325,10 @@ limitations under the License.
<target name="-check.clover">
<available property="clover.installed" classname="com.cenqua.clover.CloverInstr" />
</target>
+
+ <target name="with.clover" depends="guard.noclover">
+ <clover-setup/>
+ </target>
<target name="guard.noclover" depends="-check.clover" unless="clover.installed">
<fail message="The target you are attempting to run requires Clover, which doesn't appear to be installed"/>

0 comments on commit 7d8159c

Please sign in to comment.