Bug#655341: eclipse-rcp does not include .source .jars

Niels Thykier niels at thykier.net
Tue Jan 10 18:40:22 UTC 2012


On 2012-01-10 15:04, Dominic Evans wrote:
> Package: eclipse-rcp
> Version: 3.7.0-0ubuntu1
> Severity: normal
> 
> Unlike the PDE package, the RCP package does not include the accompanying
> ..source jar files which contain the .java source that was used to produce the
> ..jar
> 
> `dpkg -L eclipse-pde | grep \.source_` vs `dpkg -L eclipse-rcp | grep
> \.source_`
> 
> These are useful because (e.g.,) they allow someone developing code in eclipse
> to inspect the source for the graphical widgets they are using as part of the
> code. Currently you can do this for the jface widgets (like DialogPage.class
> for example) because they are in the eclipse-pde package and have the
> accompanying source files packaged alongside them, but you cannot do the same
> for other SWT widgets such as ScrolledComposite which appear in the eclipse-RCP
> package.
> 
> Ideally the eclipse-rcp package would also include accompanying .source jars
> for the jars it contains.
> 
> 
> 
> [...]
> 
> 

Hi,

I believe all the source jars were moved to eclipse-pde[1], though I
suspect you ought to have that installed already based on the "system
info" in your email.

However, I cannot see any org.eclipse.swt*.source_*.jar in any of the
packages, which is presumably the cause of your issue.  :)  Have you
noticed any other missing source jars (that is, any "non-SWT" classes
without sources)?

~Niels


[1] I saw:
/usr/lib/eclipse/dropins/sdk/plugins/org.eclipse.rcp.source_3.7.0.dist.jar






More information about the pkg-java-maintainers mailing list