Win a copy of Functional Design and Architecture this week in the Functional programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

How do I access an external javadoc file?

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. It worked.
reply
    Bookmark Topic Watch Topic
  • New Topic