Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341267 - org.eclipse.jst.enterprise_ui feature group points to invalid version of datatools.connectivity?
Summary: org.eclipse.jst.enterprise_ui feature group points to invalid version of data...
Status: NEW
Alias: None
Product: WTP Releng
Classification: WebTools
Component: releng (show other bugs)
Version: 3.10   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: webtools.releng CLA
QA Contact: Carl Anderson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 14:13 EDT by Lee CLA
Modified: 2018-06-29 15:14 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lee CLA 2011-03-29 14:13:53 EDT
I have an Eclipse Helios installation that I tried to update to the latest Indigo milestone.  Unfortunately, I got the following error while trying to perform the update:

No repository found containing: osgi.bundle,org.eclipse.datatools.connectivity,1.2.2.v201010220354
session context was:(profile=C:/Users/IBM_ADMIN/Applications/eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).


Obviously there were lots of updates available and the darn error message doesn't even tell me which one is causing the error (yet the error only occurs after selecting which updates to install, during the install process, which causes all the updates to be lost).  After lots of trial and error, I finally singled out the problematic update:
feature=Eclipse Java EE Developer Tools
version=3.3.0.v201102200555-7b7IHuQFSK2WE_U389ncrWY7PpMf 
id=org.eclipse.jst.enterprise_ui.feature.feature.group

Does this version even exist?

-- Error Details --
Date: Fri Mar 25 00:56:17 EDT 2011
Message: An error occurred while collecting items to be installed
Severity: Error
Product: Eclipse SDK 3.7.0.v201103101119 (org.eclipse.sdk.ide)
Plugin: org.eclipse.equinox.p2.engine
Session Data:
eclipse.buildId=I20110310-1119
java.version=1.6.0_23
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86



-- Error Details --
Date: Fri Mar 25 00:56:17 EDT 2011
Message: No repository found containing: osgi.bundle,org.eclipse.datatools.connectivity,1.2.2.v201010220354
Severity: Error
Product: Eclipse SDK 3.7.0.v201103101119 (org.eclipse.sdk.ide)
Plugin: org.eclipse.equinox.p2.artifact.repository

-- Error Details --
Date: Fri Mar 25 00:56:17 EDT 2011
Message: session context was:(profile=C:/Users/IBM_ADMIN/Applications/eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Severity: Error
Product: Eclipse SDK 3.7.0.v201103101119 (org.eclipse.sdk.ide)
Plugin: org.eclipse.equinox.p2.engine
Comment 1 Carl Anderson CLA 2011-03-30 08:56:03 EDT
Moving this over to releng- org.eclipse.jst.j2ee.ejb.annotations.ui has an optional dependency on org.eclipse.datatools.connectivity.  Since it is an optional dependency, it should not cause an error.  Is there anything we can do to org.eclipse.jst.enterprise_ui.feature.feature.group to make this optional dependency show a warning?  Is this a bug on base Eclipse?
Comment 2 David Williams CLA 2011-03-31 00:19:01 EDT
There is a org.eclipse.datatools.connectivity, in the helios repository, but not in the indigo one, that is, there is a version 1.2.2.v201010220354. In indigo, the version is 1.2.2.v201010220349, for M6. For previous milestones, there might have been a version 1.2.2.v201010220354. So ... I'm not sure where that requirement is coming from. Do you have a "plain" Java EE IDE package installation? Did you create your own? (If so, what was added, and how was it added ... unzipping? Or p2). 

When you do the "update" what "choice" is it giving you to update? The Java EE IDE Feature? 

You might try updating to the very latest Helios versions, if you haven't yet, and then try updating to 'indigo'. 

Oh, and which repository are you using? You should use 
http://download.eclipse.org/releases/indigo/
if you are not already (not the webtools specific one). 

I know at various times I tried updating from a Java EE IDE Helios SR2 to Indigo M6, but ... I was using a pretty plain and pure freshly installed version, so not sure what issues might be encountered.