Community
Participate
Working Groups
hi, i am trying to mirror swtbot repository locally and ran into a problem. i am using b3 to achieve the mirroring. ( see attached model ) Step to reproduce : - open the attached b3 model ( you must install the b3 editor ) - right clic and choose "verify repository" - get the following error : org.eclipse.core.runtime.CoreException: Cannot complete the install because one or more required items could not be found. at org.eclipse.b3.aggregator.engine.RepositoryVerifier.run(RepositoryVerifier.java:172) at org.eclipse.b3.aggregator.engine.Builder.runRepositoryVerifier(Builder.java:1091) at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:607) at org.eclipse.b3.aggregator.presentation.AggregatorActionBarContributor$BuildRepoAction$1.run(AggregatorActionBarContributor.java:267) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Contains: Software being installed: all.contributed.content.feature.group 1.0.0 Contains: Missing requirement: build utility feature for equinox plugins 1.1.0.v20100521-7f7PFAwFDt5GvjMknttWDST7ELBs (master-equinox.feature.group 1.1.0.v20100521-7f7PFAwFDt5GvjMknttWDST7ELBs) requires 'master-equinox-weaving.feature.group [1.0.0.v20090817-37B7D7733L57955LBL9J]' but it could not be found Contains: Missing requirement: build utility feature for equinox plugins 1.1.0.v20100521-7f7PFAxFDt5GvkMknttdHz-xebd5 (master-equinox.feature.group 1.1.0.v20100521-7f7PFAxFDt5GvkMknttdHz-xebd5) requires 'master-equinox-weaving.feature.group [1.0.0.v20090817-37B7D7733L57955LBL9J]' but it could not be found Contains: Cannot satisfy dependency: Contains: From: all.contributed.content.feature.group 1.0.0 Contains: To: master-equinox.feature.group 0.0.0 it seems the update site is corrupted. PS : searching the web about "master-equinox-weaving.feature.group" give me lots of mirror errors, for example : http://download.eclipse.org/eclipse/downloads/drops/S-3.6.2RC4-201102101200/buildlogs/mirrorlog.txt
Created attachment 189183 [details] b3 model
The repository is not corrupt. We remove build time features from the repository. This includes the master-equinox and master-equinox-weaving.feature groups. Why are you trying to mirror master-equinox-weaving.feature.group in the process mirroring the swtbot repository?
(In reply to comment #2) > The repository is not corrupt. We remove build time features from the > repository. This includes the master-equinox and master-equinox-weaving.feature > groups. Why are you trying to mirror master-equinox-weaving.feature.group in > the process mirroring the swtbot repository? hi kim, i just want to mirror swtbot, but when i tried without eclipse repo, i got an error validating repo ( should be reproductible by disabling eclipse repos ): Cannot complete the install because one or more required items could not be found. Software being installed: all.contributed.content.feature.group 1.0.0 Missing requirement: SWTBot for Eclipse Testing (incubation) 2.0.2.20110117_1743-b492ddb-dev-e34 (org.eclipse.swtbot.eclipse.feature.group 2.0.2.20110117_1743-b492ddb-dev-e34) requires 'org.eclipse.osgi 0.0.0' but it could not be found Missing requirement: SWTBot for Eclipse Testing (incubation) 2.0.2.20110117_1743-b492ddb-dev-e35 (org.eclipse.swtbot.eclipse.feature.group 2.0.2.20110117_1743-b492ddb-dev-e35) requires 'org.eclipse.osgi 0.0.0' but it could not be found Missing requirement: SWTBot for Eclipse Testing (incubation) 2.0.2.20110117_1743-b492ddb-dev-e36 (org.eclipse.swtbot.eclipse.feature.group 2.0.2.20110117_1743-b492ddb-dev-e36) requires 'org.eclipse.osgi 0.0.0' but it could not be found Cannot satisfy dependency: From: all.contributed.content.feature.group 1.0.0 To: org.eclipse.swtbot.eclipse.feature.group 0.0.0 so obviously i needed eclipse to mirror swtbot using b3. and i just added eclipse update site and had this error. BTW, it could be just a b3 bug ;)
Created attachment 189198 [details] screenshot of eclipse update site with b3 editor additionnal comments : when i browse the repo using b3 editor model, i see that the label is "Eclipse Project Test Site" and i can see the master-equinox feature ( see attached screenshot )
I don't understand why it matters. You aren't trying to mirror those irrelevant build-time features. Does b3 prevent you from mirroring content from the repository because of the repository validation error?
(In reply to comment #5) > I don't understand why it matters. You aren't trying to mirror those > irrelevant build-time features. Does b3 prevent you from mirroring content > from the repository because of the repository validation error? yes, this is exactly what b3 does. it verifies the provided repo entirely and then mirrors. BTW, i used exclusion rules to avoid the use of these features and it worked. I had to add helios repo, too, and remove some features again to make it work completely... i don't know how to deal with this problem by now :)
Okay, I'm going to close this bug. I'm not going to modify the 3.6 repository for this issue.
kim, founded the right way to use eclipse repo with b3. i must not use eclipse repo as contribution but as "validation repository". looking at the documentation [1], i found the answer : "By default all contributed contents of a Mapped Repository will be verified for all Configurations defined for the aggregation." so the use of the correct element (validation repository) will not try to resolve every feature. [1] http://wiki.eclipse.org/Eclipse_b3/aggregator/manual#Validation_Repository