I have a third-party library in my SVN repository and I'd like to associate source/javadoc with it locally in Eclipse. I.e., there should be some local setting (for example, an entry in the local.properties
file) that associates the source/javadoc with the JAR file, but which doesn't introduce local dependencies into the repository via .classpath
. Ideally I'd have
lib_src_dir = /my/path/to/lib/src
in local.properties
and then
<classpathentry kind="lib" path="lib.jar" sourcepath="${lib_src_dir}">
in .classpath
. Can this be done?
[EDIT] @VonC's answer is helpful... Is there a way to load Path Variables from a text file (e.g., local.properties
) instead of going through Window -> Preferences -> General -> Workspace -> Linked Resources?