eclipse-platform installs jdt

Asked by Quin Eirik

Inconsistency of infomation. `apt-cache show eclipse-platform' say it does _not_ install jdt, while it also states it _replaces_ jdt and the description states it does _not_ install jdt.

`apt-get install eclipse-platform' _does_ install jdt.

What am I missing here?

$ apt-cache show eclipse-platform =>
------------------------------------------------------------------------------------------------------------
...

Replaces: eclipse-jdt (<< 3.5.1+repack~3), eclipse-platform-common, eclipse-platform-gcj, eclipse-source (<= 3.1.1-3), libeclipse-jni
...
Suggests: eclipse-jdt
...
Description-en: Eclipse platform without development plug-ins
 The Eclipse Platform is an open and extensible platform for anything and yet
 nothing in particular. It provides a foundation for constructing and running
 integrated software-development tools. The Eclipse Platform allows tool
 builders to independently develop tools that integrate with other people's
 tools so seamlessly you can't tell where one tool ends and another starts.
 .
 This package provides the Eclipse Platform and is the base for all Eclipse
 development plug-ins, but it does not include any. These are available in
 different packages, for example:
 .
  * eclipse-jdt Java Development Tools
  * eclipse-pde Plug-in Development Tools
  * eclipse-cdt C/C++ Development Tools
...
------------------------------------------------------------------------------------------------------------

$ sudo apt-get install eclipse-platform =>
------------------------------------------------------------------------------------------------------------
...
The following extra packages will be installed:
  aspectj eclipse-jdt eclipse-pde eclipse-platform-data eclipse-rcp ....
Suggested packages:
  eclipse junit-doc ...
The following NEW packages will be installed:
  aspectj eclipse-jdt eclipse-pde eclipse-platform ...
...
------------------------------------------------------------------------------------------------------------

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu eclipse Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Bhawani Singh (bhawanisingh) said :
#1

it says it replaces eclipse-jdt "Replaces: eclipse-jdt (<< 3.5.1+repack~3)"

it suggest you to install eclipse-jdt instead of eclipse (only if you want to develop java apps nothing else)

Revision history for this message
Quin Eirik (morpfh) said :
#2

But it still say "I do not install eclipse-jdt" - but it does.

From description of `apt-cache show'
---------------------------------------------------------------------------------------------------
 This package provides the Eclipse Platform and is the base for all Eclipse
 development plug-ins, but it does not include any. These are available in <---- " ... but it does not include any ..."
 different packages, for example:
 .
  * eclipse-jdt Java Development Tools
  * eclipse-pde Plug-in Development Tools
  * eclipse-cdt C/C++ Development Tools
---------------------------------------------------------------------------------------------------

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

The case is a bit tricky:

"eclipse-platform Replaces: eclipse-jdt (<< 3.5.1+repack~3)"
Means that it replaces all versions of eclipse-jdt lower than 3.5.1...

eclipse-platform recommends eclipse-pde
and eclipse-pde in turn depens on eclipse-jdt

So if you install eclipse-platform including its recommenden packages, you will also get eclipse-jdt

If you try
apt-get install eclipse-platform --no-install-recommends
you should see that eclipse-jdt does not get installed.

Revision history for this message
Quin Eirik (morpfh) said :
#4

Thanks Manfred Hampl, that solved my question.