Bug 298295

Summary: Cannot install JDT on top of CDT Eclipse
Product: [Eclipse Project] JDT Reporter: Alexander Lehmann <lehmanna>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann, satyam.kandula, srikanth_sankaran
Version: 3.6   
Target Milestone: 3.6 M5   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Alexander Lehmann CLA 2009-12-21 07:57:44 EST
Build Identifier: 20090920-1017

I have been successfully working with the Eclipse IDE for C++ Developers for several months. However, when I try to install JDT on top of this existing installation, Eclipse keeps bugging me about not being able to complete the request and hangs forever on "Cannot complete the request. Generating details." This looks like a problem with automatically resolving the neccessary package dependencies.

Reproducible: Always

Steps to Reproduce:
1. Open Eclipse -> Help -> Install New Software
2. Select "All available sites"
3. Check Java Development
4. Press Next
5. Get this:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Java EE Developer Tools 3.0.4.v200811190840-7U1959LJIHM6ogLbhvbrAnWtxuyM (org.eclipse.jst.feature.group 3.0.4.v200811190840-7U1959LJIHM6ogLbhvbrAnWtxuyM)
  Software currently installed: Eclipse IDE for C/C++ Developers 1.2.1.20090918-0703 (epp.package.cpp 1.2.1.20090918-0703)
  Only one of the following can be installed at once: 
    International Components for Unicode for Java (ICU4J) 4.0.1.v20090415 (com.ibm.icu 4.0.1.v20090415)
    International Components for Unicode for Java (ICU4J) 3.8.1.v20080530 (com.ibm.icu 3.8.1.v20080530)
    International Components for Unicode for Java (ICU4J) 4.0.1.v20090822 (com.ibm.icu 4.0.1.v20090822)
  Cannot satisfy dependency:
    From: Eclipse IDE for C/C++ Developers 1.2.1.20090918-0703 (epp.package.cpp 1.2.1.20090918-0703)
    To: org.eclipse.epp.package.cpp.feature.feature.group [1.2.1.20090918-0703]
  Cannot satisfy dependency:
    From: EPP CPP Feature 1.2.1.20090918-0703 (org.eclipse.epp.package.cpp.feature.feature.group 1.2.1.20090918-0703)
    To: org.eclipse.platform.feature.group [3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7]
  Cannot satisfy dependency:
    From: Java EE Developer Tools 3.0.4.v200811190840-7U1959LJIHM6ogLbhvbrAnWtxuyM (org.eclipse.jst.feature.group 3.0.4.v200811190840-7U1959LJIHM6ogLbhvbrAnWtxuyM)
    To: org.eclipse.wst.jsdt.feature.feature.group [1.0.4.v200812112112-6-E75BcMAAyDJGhFpNN]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7 (org.eclipse.platform.feature.group 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7)
    To: org.eclipse.rcp.feature.group [3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6]
  Cannot satisfy dependency:
    From: Eclipse RCP 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6 (org.eclipse.rcp.feature.group 3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6)
    To: com.ibm.icu [4.0.1.v20090822]
  Cannot satisfy dependency:
    From: JavaScript Developer Tools 1.0.4.v200812112112-6-E75BcMAAyDJGhFpNN (org.eclipse.wst.jsdt.feature.feature.group 1.0.4.v200812112112-6-E75BcMAAyDJGhFpNN)
    To: org.eclipse.wst.jsdt.ui [1.0.104.v200901290004]
  Cannot satisfy dependency:
    From: JavaScript Development Tools UI 1.0.104.v200901290004 (org.eclipse.wst.jsdt.ui 1.0.104.v200901290004)
    To: bundle com.ibm.icu [3.8.1,4.0.0)
Comment 1 Frederic Fusier CLA 2009-12-21 08:58:30 EST
What is the letter before the build identifier I or M?
Which JDT version do you try to install and where did you get it?
Comment 2 Frederic Fusier CLA 2009-12-21 10:05:16 EST
I cannot reproduce on Windows: Installing CPP from the zip got on the Eclipse download site + Install New Software works like a charm on my Win/XP machine...

Would it be possible to test a fresh install on a brand new workspace on your machine to see if you can reproduce or not?
Comment 3 Alexander Lehmann CLA 2009-12-21 11:17:32 EST
(In reply to comment #1)
> What is the letter before the build identifier I or M?

It's an M. Didn't appear in the About Eclipse window, but was to be found in the Installation details: M20090917-0800

> Which JDT version do you try to install and where did you get it?

I didn't any custom sites. Amongst lots of others, the Java Development source was readily available since I first installed this version of Eclipse. I'm also sure that there was no previously installed version of Eclipse since the machine was brand-new when I performed the install.
Comment 4 Alexander Lehmann CLA 2009-12-21 11:20:54 EST
(In reply to comment #2)
> I cannot reproduce on Windows: Installing CPP from the zip got on the Eclipse
> download site + Install New Software works like a charm on my Win/XP machine...

The problem occured only during an "online" install. I didn't try downloading a ZIP file and installing it manually.

> Would it be possible to test a fresh install on a brand new workspace on your
> machine to see if you can reproduce or not?

I just did that and it worked out of the box. Surprisingly, all the entries in the install dialog look way different in the current version of Eclipse, being grouped and organized far more than they were before. However, the build that I had installed beforehand is not older than 6 or 7 weeks...

All in all I think this "bug" can be marked as resolved or removed at all. A workaround for my older version of Eclipse was installing the Java Development components one by one.
Comment 5 Frederic Fusier CLA 2009-12-21 12:22:13 EST
(In reply to comment #4)
> 
> All in all I think this "bug" can be marked as resolved or removed at all. A
> workaround for my older version of Eclipse was installing the Java Development
> components one by one.

Agreed. It seems to be a specific issue with your previous installation and/or your workspace, hence it will be difficult to track the real origin of the problem without debug it on your box...

Close this bug for the while, if you have any other similar issue then reopen it and we'll see on which component to reassign it as it's clear now that it was not a JDT/Core issue...
Comment 6 Satyam Kandula CLA 2010-01-25 06:46:41 EST
Verified for 3.6M5 using Build id: I20100122-0800
Comment 7 Srikanth Sankaran CLA 2010-01-25 06:53:23 EST
Verified.