8193298: Don't run javadoc with test.single

Reviewed-by: hannesw, sundar
This commit is contained in:
Attila Szegedi 2017-12-12 14:04:05 +01:00
parent 4b41440094
commit 64f569ad1b

View File

@ -265,7 +265,7 @@
</target>
<!-- generate javadoc for Nashorn classes -->
<target name="javadoc" depends="jar">
<target name="javadoc" depends="jar" unless="test.class">
<javadoc destdir="${dist.javadoc.dir}" use="yes"
windowtitle="${nashorn.product.name} ${nashorn.version}"
additionalparam="-quiet" failonerror="true" useexternalfile="true">