Reputation: 18824
is there a simple way to add the javadoc+sources of a library in eclipse without having to add both references in the JAR properties manually?
It seems to me there could be some kind of automatic configuration considering the file names or file locations.
Upvotes: 2
Views: 2726
Reputation: 56
If you find yourself constantly using the same JAR files the recommendation I've received is to create a base "Skeleton Directory". In Eclipse I've done this by creating a single project title "Skeleton" with no classes but all the JAR files I use normally. I then duplicate this project and rename it to use for each new project. Saves a lot of time. Also recommend removing any unneeded JAR files before uploading anywhere
If you are looking to do just the Javadoc you can do it via URL
"Right Click the JAR file in Project Explorer -> Properties -> From the left pane choose Javadoc Location -> enter the URL of your jar documentation.
Generally you can Google for: javadoc lib-name and then pickup the URL of the first site suggested by Google - going up a level."
(Source: https://superuser.com/questions/167458/how-to-add-javadocs-to-eclipse)
Hope this helps!
Upvotes: 2