Community
Participate
Working Groups
Build Identifier: Eclipse 3.6.0 When a feature was built, a repository was created in buildRepo. But I failed to install from it as an update. Reproducible: Always Steps to Reproduce: 1. Run a feature build and install it via p2 director with the task runDirector 2. Unzip the built result to a installation directory 3. Run another product build to create a newer version of the installed feature 4. Move all files/folders in buildRepo to a http server 5. Start the installed instance and try to update the installed feature from the http server 6. The updated feature was found and was allowed to update 7. During the update, the following errors were reported and udpate failed. !ENTRY org.eclipse.equinox.p2.engine 4 4 2010-08-25 17:38:09.015 !MESSAGE An error occurred while collecting items to be installed !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2010-08-25 17:38:09.015 !MESSAGE session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2010-08-25 17:38:09.015 !MESSAGE No repository found containing: osgi.bundle,com.ibm.cdz.remote.cshelp,1.6.0.201008200900 !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2010-08-25 17:38:09.015 !MESSAGE No repository found containing: osgi.bundle,com.ibm.cdz.remote.doc,1.6.0.201008200900 !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2010-08-25 17:38:09.015 ... !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2010-08-25 17:38:09.015 !MESSAGE No repository found containing: org.eclipse.update.feature,com.ibm.debug.memorymap.feature,7.2.211.v20100824_0121 !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2010-08-25 17:38:09.015 !MESSAGE No repository found containing: org.eclipse.update.feature,com.ibm.debug.memoryoffset.feature,7.1.11.v20100824_0121 ... com.ibm.cdz.remote.doc,1.6.0.201008200900 is an updated plugin and it can be found in the reporsitory as com.ibm.cdz.remote.doc_1.6.0.201008200900.jar org.eclipse.update.feature,com.ibm.debug.memoryoffset.feature,7.1.11.v20100824_0121 is an updated feature and can be found as com.ibm.debug.memoryoffset.feature_7.1.11.v20100824_0121.jar
If I copied the whole repository to a local directory, I can install the newly built features.
I have looked at this and it appears the repository that Samuel is trying to install from appears in the list of metadata repositories but is missing from the list of artifact repositories. That is why we get the message about the artifacts not being available when we try and do an install. If you remove the repository from the list of available repos and then re-add it then everything is ok. We are still trying to determine why the artifact repository is missing. Where is it a problem with the build or a real bug.
The repository URL was contributed via p2.inf. It only contained one add repository statement.