summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorJaikiran Pai <jaikiran@apache.org>2020-01-10 19:08:14 +0530
committerJaikiran Pai <jaikiran@apache.org>2020-01-10 19:09:14 +0530
commitdfeee59cca730e1b1346564bf2fe1bf4a81f9549 (patch)
treed7bc8015c578085f1ac21b616ed21841135632b0 /build.xml
parent043384071d9c2da3b8e4348e8fcff5e7f1f8f413 (diff)
downloadant-dfeee59cca730e1b1346564bf2fe1bf4a81f9549.tar.gz
bz-63438 Undo part of commit 6656db28bb79912ec1c744f34affbda53f86e6fd, to fix broken javadocs target
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml17
1 files changed, 15 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 6071a949e..047d459f9 100644
--- a/build.xml
+++ b/build.xml
@@ -574,6 +574,17 @@
<parsersupports feature="http://java.sun.com/xml/jaxp/properties/schemaSource"/>
</or>
</condition>
+
+ <!--
+ Java8 introduced a HTML checker 'doclint' which is very strict and breaks
+ the build if there is a HTML error in the JavaDoc.
+ -->
+ <condition
+ property="javadoc.doclint.none"
+ value="-Xdoclint:none"
+ else="">
+ <not><isset property="withDoclint"/></not>
+ </condition>
</target>
<!--
@@ -1541,7 +1552,8 @@
windowtitle="${Name} API"
doctitle="${Name}"
maxmemory="1000M"
- verbose="${javadoc.verbose}">
+ verbose="${javadoc.verbose}"
+ additionalparam="${javadoc.doclint.none}">
<packageset dir="${java.dir}"/>
@@ -1572,7 +1584,8 @@
version="true"
locale="en"
windowtitle="${Name} Test Utilities"
- doctitle="${Name}">
+ doctitle="${Name}"
+ additionalparam="${javadoc.doclint.none}">
<!-- hide some meta information for javadoc -->
<tag name="pre" description="Precondition:" scope="all"/>