Commit 5459b043 authored by Christian Schudt's avatar Christian Schudt

Merge pull request #9 from SvenBunge/Javadoc8

Disable doclint in Javadoc of JDK8. 
parents 27a145c2 eedc41bb
...@@ -467,6 +467,16 @@ ...@@ -467,6 +467,16 @@
</target> </target>
<target name="-javadoc-impl" unless="no.javadoc"> <target name="-javadoc-impl" unless="no.javadoc">
<!-- Starting with Java8 Javadoc checks for valid html. We disable it only for Java8 because older verions doesn't know the property -->
<condition property="javadoc.additionalparams" value="-Xdoclint:none">
<contains string="${ant.java.version}" substring="1.8"/>
</condition>
<condition property="javadoc.additionalparams" value="">
<not>
<contains string="${ant.java.version}" substring="1.8"/>
</not>
</condition>
<!-- Run javadoc over all source code --> <!-- Run javadoc over all source code -->
<javadoc <javadoc
packagenames="org.jivesoftware.*, org.xmpp.*" packagenames="org.jivesoftware.*, org.xmpp.*"
...@@ -474,6 +484,7 @@ ...@@ -474,6 +484,7 @@
windowtitle="Openfire ${version} Javadoc" windowtitle="Openfire ${version} Javadoc"
overview="${src.java.dir}/overview.html" overview="${src.java.dir}/overview.html"
failonerror="yes" failonerror="yes"
additionalparam="${javadoc.additionalparams}"
> >
<sourcepath> <sourcepath>
<path location="${src.java.dir}"/> <path location="${src.java.dir}"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment