Eclipse : Luna 4.4.1
JDK : 1.7
Attaching the source for a standard jar file.
I am looking at how to attach source for a dependent jar (user defined jar) file.
JDK : 1.7
Attaching the source for a standard jar file.
You can attach source using the properties for a project.
Go to Properties (for the Project) -> Java Build Path -> Libraries
Select the Library you want to attach source/javadoc for and then expand it, you'll see a list like so:
Source Attachment: (none)
Javadoc location: (none)
Native library location: (none)
Access rules: (No restrictions)
Select Javadoc location and then click Edit on the right hahnd side. It should be quite straight forward from there.
I am looking at how to attach source for a dependent jar (user defined jar) file.
Go to Properties (for the Project) -> Java Build Path -> Libraries
Select the Library you want to attach source/javadoc for and then expand it,
Corresponding to source attachment -
Browse the main folder where the source files are present.
click OK to save the changes.
Hope this helps :)
No comments:
Post a Comment