make/build.xml

changeset 864
3f7d86480ce5
parent 855
ffdb43036807
child 870
ba5b790ed0f5
equal deleted inserted replaced
860:046bf6509a1f 864:3f7d86480ce5
191 </section> 191 </section>
192 </manifest> 192 </manifest>
193 </jar> 193 </jar>
194 </target> 194 </target>
195 195
196 <target name="javadoc" depends="prepare"> 196 <target name="javadoc" depends="jar">
197 <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="src/overview.html" windowtitle="${nashorn.product.name} ${nashorn.version}" additionalparam="-quiet" failonerror="true"> 197 <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="src/overview.html"
198 extdirs="${nashorn.ext.path}" windowtitle="${nashorn.product.name} ${nashorn.version}"
199 additionalparam="-quiet" failonerror="true">
198 <classpath> 200 <classpath>
199 <pathelement location="${build.classes.dir}"/> 201 <pathelement location="${build.classes.dir}"/>
200 </classpath> 202 </classpath>
201 <fileset dir="${src.dir}" includes="**/*.java"/> 203 <fileset dir="${src.dir}" includes="**/*.java"/>
202 <fileset dir="${jdk.asm.src.dir}" includes="**/*.java"/> 204 <fileset dir="${jdk.asm.src.dir}" includes="**/*.java"/>
203 <link href="http://docs.oracle.com/javase/7/docs/api/"/> 205 <link href="http://docs.oracle.com/javase/8/docs/api/"/>
204 <!-- The following tags are used only in ASM sources - just ignore these --> 206 <!-- The following tags are used only in ASM sources - just ignore these -->
205 <tag name="label" description="label tag in ASM sources" enabled="false"/> 207 <tag name="label" description="label tag in ASM sources" enabled="false"/>
206 <tag name="linked" description="linked tag in ASM sources" enabled="false"/> 208 <tag name="linked" description="linked tag in ASM sources" enabled="false"/>
207 <tag name="associates" description="associates tag in ASM sources" enabled="false"/> 209 <tag name="associates" description="associates tag in ASM sources" enabled="false"/>
208 </javadoc> 210 </javadoc>
209 </target> 211 </target>
212
213 <!-- generate javadoc only for nashorn extension api classes -->
214 <target name="javadocapi" depends="jar">
215 <javadoc destdir="${dist.javadoc.dir}" use="yes" extdirs="${nashorn.ext.path}"
216 windowtitle="${nashorn.product.name}" additionalparam="-quiet" failonerror="true">
217 <classpath>
218 <pathelement location="${build.classes.dir}"/>
219 </classpath>
220 <fileset dir="${src.dir}" includes="jdk/nashorn/api/**/*.java"/>
221 <link href="http://docs.oracle.com/javase/8/docs/api/"/>
222 </javadoc>
223 </target>
224
210 225
211 <!-- generate shell.html for shell tool documentation --> 226 <!-- generate shell.html for shell tool documentation -->
212 <target name="shelldoc" depends="jar"> 227 <target name="shelldoc" depends="jar">
213 <java classname="${nashorn.shell.tool}" dir="${basedir}" output="${dist.dir}/shell.html" failonerror="true" fork="true"> 228 <java classname="${nashorn.shell.tool}" dir="${basedir}" output="${dist.dir}/shell.html" failonerror="true" fork="true">
214 <jvmarg line="${ext.class.path}"/> 229 <jvmarg line="${ext.class.path}"/>

mercurial