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