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 2023/01/13 17:36:13 UTC
[tomcat] branch main updated: Parameterise Javadoc error/warning config. No longer fail for warnings.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new c057460c59 Parameterise Javadoc error/warning config. No longer fail for warnings.
c057460c59 is described below
commit c057460c5994be1f6b526ef865514bac16d9b765
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jan 13 17:34:39 2023 +0000
Parameterise Javadoc error/warning config. No longer fail for warnings.
---
build.properties.default | 5 +++++
build.xml | 28 ++++++++++++++--------------
2 files changed, 19 insertions(+), 14 deletions(-)
diff --git a/build.properties.default b/build.properties.default
index b2fc1cf57f..49ee203385 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -58,6 +58,11 @@ test.coverage=false
# Note the SpotBugs is LGPL licensed
execute.spotbugs=false
+# Javadoc - warnings are disabled as they are noisy with Java 18+ and CheckStyle
+# works better for Tomcat.
+javadoc.failonerror=true
+javadoc.failonwarning=false
+
# ----- Test configuration -----
execute.test.nio=true
execute.test.nio2=true
diff --git a/build.xml b/build.xml
index dc3c6ce1a8..035be1ade6 100644
--- a/build.xml
+++ b/build.xml
@@ -2193,8 +2193,8 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
additionalparam="-breakiterator -notimestamp -html5"
source="${compile.release}"
maxmemory="512m"
- failonerror="true"
- failonwarning="true">
+ failonerror="${javadoc.failonerror}"
+ failonwarning="${javadoc.failonwarning}">
<classpath>
<path refid="compile.classpath"/>
<path location="${ant.core.lib}"/>
@@ -2215,8 +2215,8 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
additionalparam="-breakiterator -notimestamp -html5"
source="${compile.release}"
maxmemory="512m"
- failonerror="true"
- failonwarning="true">
+ failonerror="${javadoc.failonerror}"
+ failonwarning="${javadoc.failonwarning}">
<classpath>
<path refid="compile.classpath"/>
<path location="${ant.core.lib}"/>
@@ -2236,8 +2236,8 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
additionalparam="-breakiterator -notimestamp -html5"
source="${compile.release}"
maxmemory="512m"
- failonerror="true"
- failonwarning="true">
+ failonerror="${javadoc.failonerror}"
+ failonwarning="${javadoc.failonwarning}">
<classpath>
<path refid="compile.classpath"/>
<path location="${ant.core.lib}"/>
@@ -2257,8 +2257,8 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
additionalparam="-breakiterator -notimestamp -html5"
source="${compile.release}"
maxmemory="512m"
- failonerror="true"
- failonwarning="true">
+ failonerror="${javadoc.failonerror}"
+ failonwarning="${javadoc.failonwarning}">
<classpath>
<path refid="compile.classpath"/>
<path location="${ant.core.lib}"/>
@@ -2278,8 +2278,8 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
additionalparam="-breakiterator -notimestamp -html5"
source="${compile.release}"
maxmemory="512m"
- failonerror="true"
- failonwarning="true">
+ failonerror="${javadoc.failonerror}"
+ failonwarning="${javadoc.failonwarning}">
<classpath>
<path refid="compile.classpath"/>
<path location="${ant.core.lib}"/>
@@ -2298,8 +2298,8 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
charset="UTF-8"
additionalparam="-breakiterator -notimestamp -html5"
maxmemory="512m"
- failonerror="true"
- failonwarning="true">
+ failonerror="${javadoc.failonerror}"
+ failonwarning="${javadoc.failonwarning}">
<classpath>
<path refid="compile.classpath"/>
<path location="${ant.core.lib}"/>
@@ -2318,8 +2318,8 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
additionalparam="-breakiterator -notimestamp -html5"
source="${compile.release}"
maxmemory="512m"
- failonerror="true"
- failonwarning="true">
+ failonerror="${javadoc.failonerror}"
+ failonwarning="${javadoc.failonwarning}">
<classpath>
<path refid="compile.classpath"/>
<path location="${ant.core.lib}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org