Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » B3 » validation error when mirroring Orbit
validation error when mirroring Orbit [message #999894] Sun, 13 January 2013 10:46 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

I've just started using/experimenting b3 aggregator, I have this simple
aggregation model, which should mirror a few features from Juno and the
whole Orbit repo:

<?xml version="1.0" encoding="UTF-8"?>
<aggregator:Aggregation xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:aggregator="http://www.eclipse.org/b3/2011/aggregator/1.1.0"
description="MIrror RCP (with sources), launches and p2 update feature"
label="RCP SDK, Launchers, and p2 Update Features">
<validationSets label="main">
<contributions label="Juno RCP">
<repositories location="http://download.eclipse.org/releases/juno">
<features name="org.eclipse.rcp.feature.group"/>
<features name="org.eclipse.rcp.source.feature.group"/>
<features name="org.eclipse.equinox.executable.feature.group"/>
<features name="org.eclipse.equinox.p2.user.ui.feature.group"/>
</repositories>
</contributions>
<contributions label="Orbit R20120526062928">
<repositories
location="http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository"/>
</contributions>
</validationSets>
<configurations/>
<configurations architecture="x86_64"/>
<configurations operatingSystem="linux" windowSystem="gtk"/>
<configurations operatingSystem="linux" windowSystem="gtk"
architecture="x86_64"/>
<configurations operatingSystem="macosx" windowSystem="cocoa"/>
<configurations operatingSystem="macosx" windowSystem="cocoa"
architecture="x86_64"/>
</aggregator:Aggregation>

however, when building, I get this error:

Bundle(org.eclipse.osgi) is required by:
ValidationSet(main)
Contribution(Orbit R20120526062928)

MappedRepository(http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository)
Cannot complete the install because one or more required items
could not be found.
Missing requirement: Orbit Build Feature
1.0.0.v201205230610-FBUFHaFKWKZ5StSQZMh5ZbIbx0PV
(org.eclipse.orbit.build.feature.set1.feature.group
1.0.0.v201205230610-FBUFHaFKWKZ5StSQZMh5ZbIbx0PV) requires
'org.apache.commons.daemon.win32.x86_64 [1.0.5.v20111129-0900]' but it
could not be found

however, org.apache.commons.daemon.win32.x86_64 is actually in the orbit
repo, as a fragment, and indeed the repository browser inside the b3
editor shows that...

am I missing something?

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: validation error when mirroring Orbit [message #1001256 is a reply to message #999894] Wed, 16 January 2013 10:29 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Lorenzo,

Sorry for late reply. I'll blame the person who configured the
notifications in my thunderbird ;-)


On 2013-01-13 11:46, Lorenzo Bettini wrote:
> Hi
>
> I've just started using/experimenting b3 aggregator, I have this simple
> aggregation model, which should mirror a few features from Juno and the
> whole Orbit repo:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <aggregator:Aggregation xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:aggregator="http://www.eclipse.org/b3/2011/aggregator/1.1.0"
> description="MIrror RCP (with sources), launches and p2 update feature"
> label="RCP SDK, Launchers, and p2 Update Features">
> <validationSets label="main">
> <contributions label="Juno RCP">
> <repositories location="http://download.eclipse.org/releases/juno">
> <features name="org.eclipse.rcp.feature.group"/>
> <features name="org.eclipse.rcp.source.feature.group"/>
> <features name="org.eclipse.equinox.executable.feature.group"/>
> <features name="org.eclipse.equinox.p2.user.ui.feature.group"/>
> </repositories>
> </contributions>
> <contributions label="Orbit R20120526062928">
> <repositories
> location="http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository"/>
> </contributions>
> </validationSets>
> <configurations/>
> <configurations architecture="x86_64"/>
> <configurations operatingSystem="linux" windowSystem="gtk"/>
> <configurations operatingSystem="linux" windowSystem="gtk"
> architecture="x86_64"/>
> <configurations operatingSystem="macosx" windowSystem="cocoa"/>
> <configurations operatingSystem="macosx" windowSystem="cocoa"
> architecture="x86_64"/>
> </aggregator:Aggregation>
>
> however, when building, I get this error:
>
> Bundle(org.eclipse.osgi) is required by:
> ValidationSet(main)
> Contribution(Orbit R20120526062928)
>
> MappedRepository(http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository)
> Cannot complete the install because one or more required items
> could not be found.
> Missing requirement: Orbit Build Feature
> 1.0.0.v201205230610-FBUFHaFKWKZ5StSQZMh5ZbIbx0PV
> (org.eclipse.orbit.build.feature.set1.feature.group
> 1.0.0.v201205230610-FBUFHaFKWKZ5StSQZMh5ZbIbx0PV) requires
> 'org.apache.commons.daemon.win32.x86_64 [1.0.5.v20111129-0900]' but it
> could not be found
>
> however, org.apache.commons.daemon.win32.x86_64 is actually in the orbit
> repo, as a fragment, and indeed the repository browser inside the b3
> editor shows that...
>
> am I missing something?
>

The Juno repository should be self sufficient. There should be no need
to also include the Orbit repository unless you want specific features
from it that are not included in Juno.

The way the declaration looks right now, you're attempting to mirror the
Orbit repository as a whole. That means that you're asking p2 to come up
with a conflict free plan where the highest version of all features in
orbit are included. Orbit contains a lot of conflicts so that won't fly.

I would recommend that you try without orbit first. If that doesn't
succeed for some reason, then add Orbit again but pick some specific
things from it, not everything.

HTH,
- thomas
Re: validation error when mirroring Orbit [message #1001859 is a reply to message #1001256] Thu, 17 January 2013 13:03 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 01/16/2013 11:29 AM, Thomas Hallgren wrote:
> Hi Lorenzo,
>
> Sorry for late reply. I'll blame the person who configured the
> notifications in my thunderbird ;-)
>

No problem! :)

Looks like Orbit is always a nightmare to deal with ;)

however, you're right: cloning Juno RCP features is enough and I also
get all the *apache stuff I used to take from Orbit (I guess for no reason).

Thanks!
Lorenzo

> The Juno repository should be self sufficient. There should be no need
> to also include the Orbit repository unless you want specific features
> from it that are not included in Juno.
>
> The way the declaration looks right now, you're attempting to mirror the
> Orbit repository as a whole. That means that you're asking p2 to come up
> with a conflict free plan where the highest version of all features in
> orbit are included. Orbit contains a lot of conflicts so that won't fly.
>
> I would recommend that you try without orbit first. If that doesn't
> succeed for some reason, then add Orbit again but pick some specific
> things from it, not everything.
>
> HTH,
> - thomas
>


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it


Previous Topic:State of the beelang?
Next Topic:separating metadata from artifacts when mirroring
Goto Forum:
  


Current Time: Thu Apr 25 22:27:49 GMT 2024

Powered by FUDForum. Page generated in 0.02952 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top