Click here to Skip to main content
15,889,773 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
Hi all

I'm developing plugins for a Continuess Integration tool called Hudson and want to make use of javadocs for help about the libraries provided to write the plugins.

I'm using NetBeans. I only have *javadoc.jar, *src.jar and *core.jar files available. How would I go about generating a javadoc viewable from netbeans. Why do they provide me with a *javadoc.jar if one can't generate a html javadoc from it?

I might be sounding very confusing... I'm a bit hopeless at the mo and need so guidence please.

Thanks,
Posted

The Javadoc.jar is meant to be attached (as documentation) to the library - if you link it to the lib probably where you define your class-path (sorry I do not know how you can do it in NetBeans, since I use eclipse...), you will see the java-doc when your mouse hovers over one of the Classes/Methods from that lib.

Additionally the jar-Files are actually simply tar-files, which you can easily extract with a standard Zip-Program such as 7-zip. Extracted, you might actually receive the HTML-Doc you were looking for ;)

Cheers, Arndt
 
Share this answer
 
Comments
R. Erasmus 21-Feb-11 1:59am    
Thanks for the input. I found it very helpful.
A javadoc cannot be generated from a .jar file, you can generate javadoc from a .java file.

Look here for instructions on how to do it: http://mindprod.com/jgloss/javadoc.html[^]

NetBeans specific info here:
http://edu.netbeans.org/quicktour/javadoc.html[^]

Instructional video here:
http://www.youtube.com/watch?v=UK_7XQZhhoA[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900