fixed 36508: Mark build as failed when 'ant generate.java.doc' report errors
authorRafa Alonso <ral@openbravo.com>
Tue, 18 Jul 2017 11:47:06 +0200
changeset 32506 09b109e916b0
parent 32505 570ce3b92b69
child 32507 7bdae9313266
fixed 36508: Mark build as failed when 'ant generate.java.doc' report errors
build.xml
--- a/build.xml	Tue Jul 18 11:06:02 2017 -0400
+++ b/build.xml	Tue Jul 18 11:47:06 2017 +0200
@@ -555,7 +555,7 @@
   </target>
 
   <target name="generate.java.doc">
-    <javadoc Windowtitle="${title}" access="protected" Header="${header}" Footer="${footer}" destdir="${build.docs}" maxmemory="1024M">
+    <javadoc Windowtitle="${title}" access="protected" Header="${header}" Footer="${footer}" destdir="${build.docs}" maxmemory="1024M" failonerror="yes">
       <sourcepath>
         <pathelement path="${base.src}" />
         <pathelement path="${base.src.test}/src" />