Comment 7 for bug 67858

Revision history for this message
Olivier Mengué (dolmen) wrote : Dependencies between eclipse and eclipse-pde are reversed

I'm confirming this is not fixed in Hardy, as it not fixed in upstream (Debian sid).

We can not currently install the Eclipse JDT without installing the PDE.

All Java developers that want to install Eclipse usually just want the JDT. Those that want to develop Eclipse plugins are already familiar enough with Eclipse quickly find on the Eclipse web site that they need the PDE, and so will easily find the package the lack.

So the depencies are broken in upstream:
- the JDT is unusable after installation of eclipse-jdt (without recommends, so without 'eclipse') because there is no /usr/bin/eclipse (which is in package 'eclipse') installed through required dependencies
- the 'eclipse' package depends on 'eclipse-pde' (Eclipse Plugin Development Environment), which is wrong as explained above.
The PDE is a superset of JDT which a superset of the Eclipse platform : Eclipse plugins are developed in Java, so you need the JDT to code your own plugins, and the JDT runs on the eclipse platform.

So the dependencies should be defined the other way :
- 'eclipse' MUST NOT depend on eclipse-pde, and it must even not be listed as a recommendation of eclipse-pde.
- 'eclipse-jdt' MUST depend on 'eclipse'
- 'eclipse-pde' depends on eclipse-jdt : this dependency is the only one required