I was trying to add Ant libraries to a project in eclipse, and I used the ones that were part of eclipse’s plugins folder. When I tried to associate them with Javadocs, I couldn’t locate them in the plugin folder. I searched for them online, and I found this page, in which they say the docs are not provided online because they are part of every distribution. So where can I find the docs in the distribution that came bundled in Eclipse?
The ant javadocs may or may not be included with eclipse, depending on which version you have. Edit: Anyway, it’s better not to depend on the version bundled with the IDE. Otherwise everyone who works on the project will have to use the same version of the IDE, and eclipse automatic updates can break your project.
- Download the ant binary distribution and ant source distribution
- Take the eclipse ant distribution out of your project and replace it with the binary jars (extracted from the zip).
- In the eclipse java build path window attach the source zip to the binary jars. (Click the plus, double click “Source attachment” and select the source zip. You’ll be able view the source if you want, and the javadoc will appear in the appropriate views.