title: How to attach source to a Web App Libraries in eclipse?
body: <p>Is there a way to attach source to a web app library in eclipse 3.5/3.6?
  What I have tried:</p>
  
  <ol>
  <li><p>Till eclipse 3.3, I could attach source to jars inside the web app library, though individually.
  Now attaching source to jars inside a web app library does not work.</p></li>
  <li><p>External jars can be included, or even a jar inside the web app library can be included again and source can be attached, and it works.</p></li>
  <li><p>Adding source paths to classpath.decorations.xml and .classpath files works for jars but not for the web app library.</p></li>
  <li><p>even tried it this way for a library: <code>&lt;classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container" sourcepath="&lt;source path&gt;"/&gt;</code> on the same lines of the jar, does not work, got overwritten when I restarted eclipse, sourcepath removed.</p></li>
  </ol>
  
  <p>Now how do I assign sources to a web app library?</p>
  
  <p>(BTW, the workaround is to include the jars externally, instead of web app library, but its tedious and the reason why the web app library is used..!)</p>