title: 'Open Declaration' in Eclipse navigates to class files instead of to source files for Android Libraries
body: <p>I have two Android Projects 'A' and 'B'. 'B' depends on 'A' and is a Library. Whenever I'm in Project 'B' and hit 'Open Declaration' for a Java source file which resides in 'A', Eclipse navigates to the class file instead of the source file. This of course has several disadvantages!</p>
  
  <p>I had a look at the build path of project 'B' to see if the referenced library 'A' has the correct path to it's source project which is the case.</p>
  
  <p>Anyone knows how to fix that?</p>
  
  <p>Here are the .classpath and project.properties files for each project:</p>
  
  <p><strong>ProjectA <em>.classpath</em></strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;classpath&gt;
    &lt;classpathentry kind="src" path="src"/&gt;
    &lt;classpathentry kind="src" path="gen"/&gt;
    &lt;classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/&gt;
    &lt;classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/&gt;
    &lt;classpathentry kind="output" path="bin/classes"/&gt;
  &lt;/classpath&gt;
  </code></pre>
  
  <p><strong>ProjectA <em>project.properties</em></strong></p>
  
  <pre><code># This file is automatically generated by Android Tools.
  # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
  #
  # This file must be checked in Version Control Systems.
  #
  # To customize properties used by the Ant build system use,
  # "ant.properties", and override values to adapt the script to your
  # project structure.
  
  # Project target.
  target=android-8
  android.library=true
  </code></pre>
  
  <p><strong>ProjectB <em>.classpath</em></strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;classpath&gt;
    &lt;classpathentry kind="src" path="src"/&gt;
    &lt;classpathentry kind="src" path="gen"/&gt;
    &lt;classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/&gt;
    &lt;classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/&gt;
    &lt;classpathentry kind="output" path="bin/classes"/&gt;
  &lt;/classpath&gt;
  </code></pre>
  
  <p><strong>ProjectB <em>project.properties</em></strong></p>
  
  <pre><code># This file is automatically generated by Android Tools.
  # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
  #
  # This file must be checked in Version Control Systems.
  #
  # To customize properties used by the Ant build system use,
  # "ant.properties", and override values to adapt the script to your
  # project structure.
  
  # Project target.
  target=android-8
  android.library.reference.1=../ProjectA
  </code></pre>