details:   https://code.openbravo.com/erp/devel/pi/rev/09b109e916b0
changeset: 32506:09b109e916b0
user:      Rafa Alonso <ral <at> openbravo.com>
date:      Tue Jul 18 11:47:06 2017 +0200
summary:   fixed 36508: Mark build as failed when 'ant generate.java.doc' 
report errors

details:   https://code.openbravo.com/erp/devel/pi/rev/7bdae9313266
changeset: 32507:7bdae9313266
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Mon Jul 24 10:58:16 2017 +0200
summary:   fixed 36524: javadoc has syntax error

  Building javadoc prevents <script> tags. Marking it as @code

diffstat:

 build.xml                                                                      
                  |  2 +-
 
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
 |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 570ce3b92b69 -r 7bdae9313266 build.xml
--- a/build.xml Tue Jul 18 11:06:02 2017 -0400
+++ b/build.xml Mon Jul 24 10:58:16 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" />
diff -r 570ce3b92b69 -r 7bdae9313266 
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
--- 
a/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
  Tue Jul 18 11:06:02 2017 -0400
+++ 
b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
  Mon Jul 24 10:58:16 2017 +0200
@@ -120,7 +120,7 @@
    * @param staticResourceFileName
    *          The name of the static resource file already generated by the 
component.
    * @return a String containing the result of the component generation. By 
default, it returns a
-   *         javascript expression that writes an <script> that imports the 
generated static
+   *         javascript expression that writes an {@code <script>} that 
imports the generated static
    *         resource file.
    */
   protected String generateResult(String staticResourceFileName) {

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to