mirror of https://github.com/apache/lucene.git
LUCENE-4797: For now disable javadoc-lint provided by JDK8, so we can enable recent JDK8 builds on jenkins. Our own doclint is already disabled, so the missing doc-files don't matter!
To test and fix bugs with JDK8, run ant javadocs -Djavadoc.args=-Xdoclint:all git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451295 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5def61a215
commit
43fe27bf8e
|
@ -311,6 +311,11 @@
|
|||
<echo level="warning" message="WARN: Linting documentation HTML is not supported on this Java version (${build.java.runtime}) / JVM (${java.vm.name}). NOTHING DONE!"/>
|
||||
</target>
|
||||
|
||||
<!-- for now disable doclint on JDK 8: -->
|
||||
<condition property="javadoc.args" value="-Xdoclint:none" else="">
|
||||
<equals arg1="${build.java.runtime}" arg2="1.8"/>
|
||||
</condition>
|
||||
|
||||
<!-- Import custom ANT tasks. -->
|
||||
<import file="${common.dir}/tools/custom-tasks.xml" />
|
||||
|
||||
|
@ -1703,6 +1708,7 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
|
|||
<sources />
|
||||
|
||||
<classpath refid="javadoc.classpath"/>
|
||||
<arg line="${javadoc.args}"/>
|
||||
</javadoc>
|
||||
<record name="@{destdir}/log_javadoc.txt" action="stop"/>
|
||||
|
||||
|
|
Loading…
Reference in New Issue