javadoc help
843810Nov 10 2007 — edited Nov 12 2007Hi All,
I am newbie to java and ant both, and I am trying to create javadoc for my code.
I used the following ant script to create javadoc :
<?xml version="1.0" encoding="UTF-8" ?>
<project default="javadoc">
<target name="javadoc">
<javadoc access="public" author="true" classpath="../../lib/*.jar"
destdir="/home/../../../../javadoc/docs/api" nodeprecated="false" nodeprecatedlist="false" nonavb
ar="false"
notree="false" packagenames="com.my.code*"
source="1.5"
sourcepath="src;test" splitindex="true" use="true" version="true"
windowtitle="JAVA DOC">
<doctitle><![CDATA[<h1>DOC</h1>]]></doctitle>
<bottom><![CDATA[<i>Copyright ©. All Rights Reserved.</i>]]></bottom>
<tag name="todo" scope="all" description="To do:"/>
<group title="Group 1 Packages" packages="com.my.code.a*"/>
<group title="Group 2 Packages" packages="com.my.code.b*:com.my.code.c*"/>
<link offline="true" href="http://<hostname>/docs/api" packagelistLoc="/../../../javado
c/docs"/>
<link href="http://<hostname>/docs/index.html/"/>
</javadoc>
</target>
</project>
This script does creates javadoc but it only creates the following folders after it is done,
com
constant-values.html
overview-frame.html
package-list
resources
serialized-form.html
How do I get the index-files, help and all other files and folders? Any clue would be very helpful.I think I am in right direction but I am not exactly getting there.
I want my my webpage to look like this webpage : http://java.sun.com/javase/6/docs/api/
How do I do that ?
I am currently using Sun Solaris : 10 , JDK 1.5.11. ant 1.7.0
Any kind of help or clue or direction will be very helpful to me.
Thanks in advance.