Bug 347872 - error while installing hudson connector with discovery
Summary: error while installing hudson connector with discovery
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P2 major (vote)
Target Milestone: 3.7   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2011-05-31 19:16 EDT by Shawn Minto CLA
Modified: 2012-03-16 12:08 EDT (History)
2 users (show)

See Also:


Attachments
mylyn/context/zip (2.40 KB, application/octet-stream)
2012-03-16 11:19 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Minto CLA 2011-05-31 19:16:10 EDT
When installing the hudson connector with discovery, I get the following error.  Selecting the same features in p2 works as expected:

!ENTRY org.eclipse.mylyn.discovery.ui 4 0 2011-05-31 16:09:43.952
!MESSAGE Problems occurred while performing installation: Operation details
!STACK 1
org.eclipse.core.runtime.CoreException: Operation details
	at org.eclipse.mylyn.internal.discovery.ui.PrepareInstallProfileJob_e_3_6.resolve(PrepareInstallProfileJob_e_3_6.java:125)
	at org.eclipse.mylyn.internal.discovery.ui.PrepareInstallProfileJob_e_3_6.run(PrepareInstallProfileJob_e_3_6.java:93)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Contains: Your original request has been modified.
Contains: "Tasktop Pro" is already present because other installed software requires it.  It will be added to the installed software list.
Contains: Cannot complete the install because one or more required items could not be found.
Contains: Software being installed: Mylyn Builds Connector: Hudson/Jenkins (Incubation) 0.7.1.v20110422-0200 (org.eclipse.mylyn.hudson.feature.group 0.7.1.v20110422-0200)
Contains: Missing requirement: Mylyn Build Framework (Incubation) 0.1.0.v20110316-0100 (org.eclipse.mylyn.builds.ui 0.1.0.v20110316-0100) requires 'bundle org.eclipse.emf.databinding 0.0.0' but it could not be found
Contains: Cannot satisfy dependency:
Contains: From: Mylyn Builds (Incubation) 0.7.1.v20110422-0200 (org.eclipse.mylyn.builds.feature.group 0.7.1.v20110422-0200)
Contains: To: org.eclipse.mylyn.builds.ui [0.1.0.v20110316-0100]
Contains: Cannot satisfy dependency:
Contains: From: Mylyn Builds Connector: Hudson/Jenkins (Incubation) 0.7.1.v20110422-0200 (org.eclipse.mylyn.hudson.feature.group 0.7.1.v20110422-0200)
Contains: To: org.eclipse.mylyn.builds.feature.group [0.7.0,1.0.0)
!SUBENTRY 1 org.eclipse.equinox.p2.operations 4 0 2011-05-31 16:09:43.954
!MESSAGE Operation details
!SUBENTRY 2 org.eclipse.equinox.p2.operations 1 10001 2011-05-31 16:09:43.954
!MESSAGE Your original request has been modified.
!SUBENTRY 3 org.eclipse.equinox.p2.operations 1 10006 2011-05-31 16:09:43.954
!MESSAGE "Tasktop Pro" is already present because other installed software requires it.  It will be added to the installed software list.
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 1 2011-05-31 16:09:43.954
!MESSAGE Cannot complete the install because one or more required items could not be found.
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2011-05-31 16:09:43.954
!MESSAGE Software being installed: Mylyn Builds Connector: Hudson/Jenkins (Incubation) 0.7.1.v20110422-0200 (org.eclipse.mylyn.hudson.feature.group 0.7.1.v20110422-0200)
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 0 2011-05-31 16:09:43.954
!MESSAGE Missing requirement: Mylyn Build Framework (Incubation) 0.1.0.v20110316-0100 (org.eclipse.mylyn.builds.ui 0.1.0.v20110316-0100) requires 'bundle org.eclipse.emf.databinding 0.0.0' but it could not be found
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 1 2011-05-31 16:09:43.954
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 4 org.eclipse.equinox.p2.director 4 0 2011-05-31 16:09:43.954
!MESSAGE From: Mylyn Builds (Incubation) 0.7.1.v20110422-0200 (org.eclipse.mylyn.builds.feature.group 0.7.1.v20110422-0200)
!SUBENTRY 4 org.eclipse.equinox.p2.director 4 0 2011-05-31 16:09:43.954
!MESSAGE To: org.eclipse.mylyn.builds.ui [0.1.0.v20110316-0100]
!SUBENTRY 3 org.eclipse.equinox.p2.director 4 1 2011-05-31 16:09:43.954
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 4 org.eclipse.equinox.p2.director 4 0 2011-05-31 16:09:43.954
!MESSAGE From: Mylyn Builds Connector: Hudson/Jenkins (Incubation) 0.7.1.v20110422-0200 (org.eclipse.mylyn.hudson.feature.group 0.7.1.v20110422-0200)
!SUBENTRY 4 org.eclipse.equinox.p2.director 4 0 2011-05-31 16:09:43.954
!MESSAGE To: org.eclipse.mylyn.builds.feature.group [0.7.0,1.0.0)
Comment 1 Steffen Pingel CLA 2011-06-01 18:11:56 EDT
Shawn, do you have steps to reproduce? It seems to work for me.
Comment 2 Steffen Pingel CLA 2011-06-06 19:01:43 EDT
I can reproduce this with the latest Indigo build. Looking at the discovery code it appears that the provisioning context that is created for the install operation is limited to the repository specified in the discovery item. My guess is that this error is therefore expected. This is obviously limiting and we should consider enhancements. I'll put this on for 3.7 as a reminder to discuss this.
Comment 3 Steffen Pingel CLA 2012-03-16 11:19:24 EDT
I have pushed this change which allows resolution of dependencies against Eclipse release repositories in addition the repository specified in the discovery listing: http://review.mylyn.org/#change,373.
Comment 4 Steffen Pingel CLA 2012-03-16 11:19:27 EDT
Created attachment 212789 [details]
mylyn/context/zip