Its really simple to attach Source code/Java Doc in eclipse, for a library you are using in your application. Select the project for which you want to do the changes.
Simple isn't it. For attaching JavaDoc select the option "JavaDoc" instead of "Source attachment" in the above mentioned step, and click on Edit. For JavaDoc you can either provide URL as location Or provide a location of the compressed file. For both "Source attachment" and "JavaDoc" you can also provide location by selecting a directory from the current workspace.
- Go to Project Menu –> Properties
- Select Libraries Tab
- Select and expand the Jar file for which you want to add source code/Java doc.
- This will show you the options "Source attachment" and "JavaDoc Location".
- Select "Source attachment" option, this will enable 'Edit' button.
- Click on Edit button, this will open "Source Attachment Configuration" dialog.
- Here you need to provide the location of the source code to be attached. You can provide either compressed [jar/zip] file Or directory location of the source code. And after providing the location press OK.
Simple isn't it. For attaching JavaDoc select the option "JavaDoc" instead of "Source attachment" in the above mentioned step, and click on Edit. For JavaDoc you can either provide URL as location Or provide a location of the compressed file. For both "Source attachment" and "JavaDoc" you can also provide location by selecting a directory from the current workspace.
Comments
Post a Comment