title: Eclipse: Attach source/javadoc to a library via a local property
body: <p>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 <code>local.properties</code> file) that associates the source/javadoc with the JAR file, but which doesn't introduce local dependencies into the repository via <code>.classpath</code>. Ideally I'd have</p>
  
  <pre><code>lib_src_dir = /my/path/to/lib/src
  </code></pre>
  
  <p>in <code>local.properties</code> and then</p>
  
  <pre><code>&lt;classpathentry kind="lib" path="lib.jar" sourcepath="${lib_src_dir}"&gt;
  </code></pre>
  
  <p>in <code>.classpath</code>. Can this be done?  </p>
  
  <p>[EDIT] @VonC's answer is helpful... Is there a way to load Path Variables from a text file (e.g., <code>local.properties</code>) instead of going through Window -> Preferences -> General -> Workspace -> Linked Resources?</p>