8193298: Don't run javadoc with test.single
authorattila
Tue, 12 Dec 2017 14:04:05 +0100
changeset 48243 ddba406af760
parent 48242 61e60548c0cf
child 48244 2bf9071e8dce
8193298: Don't run javadoc with test.single Reviewed-by: hannesw, sundar
make/nashorn/build.xml
--- a/make/nashorn/build.xml	Tue Dec 12 09:16:12 2017 +0100
+++ b/make/nashorn/build.xml	Tue Dec 12 14:04:05 2017 +0100
@@ -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">