Sucharitha,

use the "link" attribute to link to other javadoc sources. I downloaded
jdk1.3 documentation to a local directory, but you can still use the
link attribute to link to url based javadoc sources. In the example
below I also link to the JINI javadoc directory.

<<<<<<

        <target name ="doc" >
        <javadoc packagenames="com.*"
           sourcepath="${src}"
           destdir="${doc}/api"
    
                <link offline="false" href="file:///C:/jdk1.3/docs/api"
/>
                <link offline="false"
href="file:///${jini.home}/doc/api" />
  </javadoc>
        </target>

<<<<<<

Tim


> -----Original Message-----
> From: Sucharitha [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 24, 2001 3:15 PM
> To: [EMAIL PROTECTED]
> Subject: ant for javadoc. how to sync it with jdk1.2
> 
> 
> Is there any one around using ant for building javadoc for 
> your codebase.
> I have one question.  I wanted to build my project doc in 
> sync with the javadoc of
> 
> jdk1.2.2(ie.. I want to see the link to java objects like 
> ArrayList, IOException
> etc from my project documentation. right now The build I have 
> builds javadoc
> without these links. ). Will it be too heavy to do that.  Let 
> me know.. if any one
> already tried
> that option.
> 

Reply via email to