You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/05/17 09:48:39 UTC

svn commit: r1744229 - /tomcat/trunk/build.xml

Author: markt
Date: Tue May 17 09:48:39 2016
New Revision: 1744229

URL: http://svn.apache.org/viewvc?rev=1744229&view=rev
Log:
Ensure Javadoc failures cause build failures.

Modified:
    tomcat/trunk/build.xml

Modified: tomcat/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1744229&r1=1744228&r2=1744229&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Tue May 17 09:48:39 2016
@@ -1953,7 +1953,9 @@ Apache Tomcat ${version} native binaries
       docencoding="UTF-8"
       charset="UTF-8"
       additionalparam="-breakiterator -notimestamp"
-      maxmemory="256m" >
+      maxmemory="256m"
+      failonerror="true"
+      failonwarning="true">
       <classpath>
         <path refid="compile.classpath"/>
         <path refid="tomcat.webservices.classpath"/>
@@ -1972,7 +1974,9 @@ Apache Tomcat ${version} native binaries
       docencoding="UTF-8"
       charset="UTF-8"
       additionalparam="-breakiterator -notimestamp"
-      maxmemory="256m" >
+      maxmemory="256m"
+      failonerror="true"
+      failonwarning="true">
       <classpath>
         <path refid="compile.classpath"/>
         <path refid="tomcat.webservices.classpath"/>
@@ -1991,7 +1995,9 @@ Apache Tomcat ${version} native binaries
       docencoding="UTF-8"
       charset="UTF-8"
       additionalparam="-breakiterator -notimestamp"
-      maxmemory="256m" >
+      maxmemory="256m"
+      failonerror="true"
+      failonwarning="true">
       <classpath>
         <path refid="compile.classpath"/>
         <path refid="tomcat.webservices.classpath"/>
@@ -2010,7 +2016,9 @@ Apache Tomcat ${version} native binaries
       docencoding="UTF-8"
       charset="UTF-8"
       additionalparam="-breakiterator -notimestamp"
-      maxmemory="256m" >
+      maxmemory="256m"
+      failonerror="true"
+      failonwarning="true">
       <classpath>
         <path refid="compile.classpath"/>
         <path refid="tomcat.webservices.classpath"/>
@@ -2028,7 +2036,9 @@ Apache Tomcat ${version} native binaries
       docencoding="UTF-8"
       charset="UTF-8"
       additionalparam="-breakiterator -notimestamp"
-      maxmemory="256m" >
+      maxmemory="256m"
+      failonerror="true"
+      failonwarning="true">
       <classpath>
         <path refid="compile.classpath"/>
         <path refid="tomcat.webservices.classpath"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r1744229 - /tomcat/trunk/build.xml

Posted by Mark Thomas <ma...@apache.org>.
On 17/05/2016 10:50, R�my Maucherat wrote:
> 2016-05-17 11:48 GMT+02:00 <ma...@apache.org>:
> 
>> Author: markt
>> Date: Tue May 17 09:48:39 2016
>> New Revision: 1744229
>>
>> URL: http://svn.apache.org/viewvc?rev=1744229&view=rev
>> Log:
>> Ensure Javadoc failures cause build failures.
>>
> Just make sure you don't backport failonwarning="true" to 8.0 ...

It would be fine if building with Java 7...

But yes, I'll drop that part of the patch.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r1744229 - /tomcat/trunk/build.xml

Posted by Rémy Maucherat <re...@apache.org>.
2016-05-17 11:48 GMT+02:00 <ma...@apache.org>:

> Author: markt
> Date: Tue May 17 09:48:39 2016
> New Revision: 1744229
>
> URL: http://svn.apache.org/viewvc?rev=1744229&view=rev
> Log:
> Ensure Javadoc failures cause build failures.
>
> Just make sure you don't backport failonwarning="true" to 8.0 ...

Rémy