Community
Participate
Working Groups
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)
Shawn, do you have steps to reproduce? It seems to work for me.
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.
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.
Created attachment 212789 [details] mylyn/context/zip