• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I access an external javadoc file?  RSS feed

 
Ed Dablin
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've added some external jar files to my Eclipse java project. I put them in a lib sub-folder of my project.
They are:
joda-time-2.1-javadoc.jar
joda-time-2.1-sources.jar
joda-time-2.1.jar
I have added them to the build.
It seems to work OK because the following line does not generate an error
(By the way, it took a lot of trial-and-error to figure out the correct import statement - how one is supposed to know the syntax?)

Anyhow, my question is, how do I open the javadoc file joda-time-2.1-javadoc.jar?
Ideally, I would like to be able to access the javadoc using Help>Dynamic Help
Thanks
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
go to build path of project-->libraries tab--> select and expand the appropriate jar file--> then select javadoc location -->
click edit--> select javadoc in archive--> and give the javadoc.jar path

But I do suggest you to attach source rather than just javadoc, in this way you can also view the source code ;)
 
Ed Dablin
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. It worked.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!