JAL-3047 don’t let the makedist task complete if a clover build was performed
[jalview.git] / build.xml
index 4fa8060..6fc56b3 100755 (executable)
--- a/build.xml
+++ b/build.xml
 </target>
 
 <target name="makedist" depends="build, buildPropertiesFile, linkcheck, buildindices">
+  <fail if="clover.jar">
+    Ignoring request to build jalview distribution with clover-instrumented classes
+  </fail>
   <!-- make the package jar if not already existing -->
   <mkdir dir="${packageDir}" />
   <!-- clean dir if it already existed -->