summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorGintas Grigelionis <gintas@apache.org>2017-12-09 23:57:08 +0100
committerGintas Grigelionis <gintas@apache.org>2017-12-10 07:15:45 +0100
commit6656db28bb79912ec1c744f34affbda53f86e6fd (patch)
tree7bd582d9746de015c82faf76091ec019d97d9bd8 /build.xml
parentcf6965b58b83f647640c0d9dc4f18683078de6f8 (diff)
downloadant-6656db28bb79912ec1c744f34affbda53f86e6fd.tar.gz
Let’s use doclint
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml22
1 files changed, 5 insertions, 17 deletions
diff --git a/build.xml b/build.xml
index 7b8cf02a1..36df7a43b 100644
--- a/build.xml
+++ b/build.xml
@@ -532,17 +532,6 @@
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>
@@ -1464,16 +1453,15 @@
description="--> creates the API documentation" unless="javadoc.notrequired">
<mkdir dir="${build.javadocs}"/>
<javadoc useexternalfile="yes"
- maxmemory="1000M"
destdir="${build.javadocs}"
+ failonerror="true"
author="true"
version="true"
locale="en"
windowtitle="${Name} API"
doctitle="${Name}"
- failonerror="true"
- verbose="${javadoc.verbose}"
- additionalparam="${javadoc.doclint.none}">
+ maxmemory="1000M"
+ verbose="${javadoc.verbose}">
<packageset dir="${java.dir}"/>
@@ -1505,8 +1493,7 @@
version="true"
locale="en"
windowtitle="${Name} Test Utilities"
- doctitle="${Name}"
- additionalparam="${javadoc.doclint.none}">
+ doctitle="${Name}">
<!-- hide some meta information for javadoc -->
<tag name="pre" description="Precondition:" scope="all"/>
@@ -1663,6 +1650,7 @@ ${antunit.reports}
fork="${junit.fork}"
forkmode="${junit.forkmode}"
threads="${junit.threads}"
+ tempdir="${build.dir}"
failureproperty="junit.failed"
errorproperty="junit.failed"
filtertrace="${junit.filtertrace}">