Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » B3 » B3 uses the wrong artifact version from the wrong site
B3 uses the wrong artifact version from the wrong site [message #713989] Tue, 09 August 2011 14:23 Go to next message
Carsten Reckord is currently offline Carsten ReckordFriend
Messages: 139
Registered: July 2009
Senior Member
Hi,

I am trying to build an aggregate from features of multiple sites and am a
bit confused regarding the result.

I have two sites containing overlapping sets of features, and if I select a
feature A from site 1, where it is available in version 1.2.3, what I see in
my aggregate is actually version 1.3.0 from site 2, where I explicitly added
an exclusion rule for that feature.

Is there a reason for this behavior (disregarding from where I include a
feature and always selecting the highest possible version from all sites)?
Is there a way to prevent this?


Best regards,
Carsten
Re: B3 uses the wrong artifact version from the wrong site [message #714063 is a reply to message #713989] Tue, 09 August 2011 17:23 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3232
Registered: July 2009
Senior Member
Hi Carsten,

The b3 aggregator uses the p2 planner to figure out the best way to create the aggregation. In essence, it performs an
install of all root features that should be mirrored. Hence, you can never "select feature A from site 1". The planner
will find it among all sites in a particular validation set (the concept of validation set was introduced in the 3.7
based release. Prior releases acts as everything lives in one single validation set).

An exclusion rule affects the set of root features that is fed to the planner. That doesn't always help since some other
feature might have a hard requirement on the excluded feature. Unless you also exclude that feature (and any feature
that in turn might include that), you will still see the "excluded" feature in your end result.

You should be able to control which version that gets mirrored if the feature in question is a root feature, and not
included by any other feature that you mirror.

- thomas


On 2011-08-09 16:23, Carsten Reckord wrote:
> Hi,
>
> I am trying to build an aggregate from features of multiple sites and am a
> bit confused regarding the result.
>
> I have two sites containing overlapping sets of features, and if I select a
> feature A from site 1, where it is available in version 1.2.3, what I see in
> my aggregate is actually version 1.3.0 from site 2, where I explicitly added
> an exclusion rule for that feature.
>
> Is there a reason for this behavior (disregarding from where I include a
> feature and always selecting the highest possible version from all sites)?
> Is there a way to prevent this?
>
>
> Best regards,
> Carsten
Previous Topic:Error mirroring an exported feature
Next Topic:[wiki] B3 aggregator manual outdated
Goto Forum:
  


Current Time: Thu Dec 18 17:22:06 GMT 2014

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

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