JAL-2119 build fails if invalid links are present
authorJim Procter <jprocter@issues.jalview.org>
Thu, 8 Sep 2016 13:51:19 +0000 (14:51 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 8 Sep 2016 13:51:19 +0000 (14:51 +0100)
build.xml

index bb84cca..d3685dd 100755 (executable)
--- a/build.xml
+++ b/build.xml
     </packageset>
   </javadoc>
 </target>
-  <target name="linkcheck">
-       <!-- finally, publish the help files -->
-    <javac srcdir="utils" destdir="utils" includes="HelpLinksChecker.java"/>
-    <java fork="true" dir="help" classpath="utils" classname="HelpLinksChecker">
-      <arg file="help"/>
-      <arg value="-nointernet"/>
-    </java>
+<target name="linkcheck">
+  <!-- finally, publish the help files -->
+  <javac srcdir="utils" destdir="utils" includes="HelpLinksChecker.java"/>
+  <java fork="true" dir="help" classpath="utils" classname="HelpLinksChecker" failonerror="true">
+    <arg file="help"/>
+    <arg value="-nointernet"/>
+  </java>
 </target>
 </project>