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

2012-01-10 Thread Dominic Evans
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.



-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages eclipse-rcp depends on:
ii  default-jre [j 1:1.6-42ubuntu2   Standard Java or Java compatible R
ii  ibm-j2sdk1.6 [ 1.6.0.9-0 Java(TM) JDK, Standard Edition, IB
ii  libatk1.0-02.2.0-0ubuntu1ATK accessibility toolkit
ii  libc6  2.13-20ubuntu5Embedded GNU C Library: Shared lib
ii  libcairo2  1.10.2-6ubuntu3   The Cairo 2D vector graphics libra
ii  libequinox-osg 3.7.0-0ubuntu1Equinox OSGi framework
ii  libglib2.0-0   2.30.0-0ubuntu4   GLib library of C routines
ii  libgtk2.0-02.24.6-0ubuntu5   The GTK+ graphical user interface 
ii  libicu4j-4.4-j 4.4.2-1   Library for Unicode support and in
ii  libsoup2.4-1   2.36.0-0ubuntu1   HTTP library implementation in C -
ii  libwebkitgtk-1 1.6.1-1~webupd8+oneiric   Web content engine library for GTK
ii  libxtst6   2:1.2.0-3 X11 Testing -- Record extension li
ii  openjdk-6-jre  6b23~pre11-0ubuntu1.11.10 OpenJDK Java runtime, using Hotspo

Versions of packages eclipse-rcp recommends:
ii  libgl1-mesa-glx [libgl 7.11-0ubuntu3 free implementation of the OpenGL 
ii  libgnomeui-0   2.24.5-1  GNOME user interface library - run
ii  libgnomevfs2-0 1:2.24.4-1ubuntu1 GNOME Virtual File System (runtime

Versions of packages eclipse-rcp suggests:
ii  eclipse   3.7.0-0ubuntu1 Extensible Tool Platform and Java 

-- no debconf information



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


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

2012-01-10 Thread Niels Thykier
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




__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


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

2012-01-10 Thread Dominic Evans
Hi Niels,

On 10 Jan 2012, at 18:40, Niels Thykier ni...@thykier.net wrote:
 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

No, so far I have only see missing sources for SWT (as you suggest).
In comfortable that adding those should cover this issue. In the
meantime ill investigate further to see if anything else significant
is missing.

Thanks for your work on this.

Cheers,
Dom



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.