make/build.xml

changeset 864
3f7d86480ce5
parent 855
ffdb43036807
child 870
ba5b790ed0f5
     1.1 --- a/make/build.xml	Wed May 28 11:08:07 2014 -0700
     1.2 +++ b/make/build.xml	Fri May 30 17:22:38 2014 +0530
     1.3 @@ -193,14 +193,16 @@
     1.4      </jar>
     1.5    </target>
     1.6  
     1.7 -  <target name="javadoc" depends="prepare">
     1.8 -    <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="src/overview.html" windowtitle="${nashorn.product.name} ${nashorn.version}" additionalparam="-quiet" failonerror="true">
     1.9 +  <target name="javadoc" depends="jar">
    1.10 +    <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="src/overview.html" 
    1.11 +        extdirs="${nashorn.ext.path}" windowtitle="${nashorn.product.name} ${nashorn.version}"
    1.12 +        additionalparam="-quiet" failonerror="true">
    1.13        <classpath>
    1.14          <pathelement location="${build.classes.dir}"/>
    1.15        </classpath>
    1.16        <fileset dir="${src.dir}" includes="**/*.java"/>
    1.17        <fileset dir="${jdk.asm.src.dir}" includes="**/*.java"/>
    1.18 -      <link href="http://docs.oracle.com/javase/7/docs/api/"/>
    1.19 +      <link href="http://docs.oracle.com/javase/8/docs/api/"/>
    1.20        <!-- The following tags are used only in ASM sources - just ignore these -->
    1.21        <tag name="label" description="label tag in ASM sources" enabled="false"/>
    1.22        <tag name="linked" description="linked tag in ASM sources" enabled="false"/>
    1.23 @@ -208,6 +210,19 @@
    1.24      </javadoc>
    1.25    </target>
    1.26  
    1.27 +  <!-- generate javadoc only for nashorn extension api classes -->
    1.28 +  <target name="javadocapi" depends="jar">
    1.29 +    <javadoc destdir="${dist.javadoc.dir}" use="yes" extdirs="${nashorn.ext.path}" 
    1.30 +        windowtitle="${nashorn.product.name}" additionalparam="-quiet" failonerror="true">
    1.31 +      <classpath>
    1.32 +        <pathelement location="${build.classes.dir}"/>
    1.33 +      </classpath>
    1.34 +      <fileset dir="${src.dir}" includes="jdk/nashorn/api/**/*.java"/>
    1.35 +      <link href="http://docs.oracle.com/javase/8/docs/api/"/>
    1.36 +    </javadoc>
    1.37 +  </target>
    1.38 +
    1.39 +
    1.40    <!-- generate shell.html for shell tool documentation -->
    1.41    <target name="shelldoc" depends="jar">
    1.42      <java classname="${nashorn.shell.tool}" dir="${basedir}" output="${dist.dir}/shell.html" failonerror="true" fork="true">

mercurial