Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] When did Tycho start failing instead of just warning about p2 urls not containing a site ?

The second option is the better solution, because it doesn't rely on making assumptions about the p2 client: In Tycho, we chose to load composite repositories as a whole or not at all, unless the p2 repository explicitly states that it its children may be missing.

There was a lengthy discussion [1], if the default should also be changed in p2, but the decision was not to change it. So to be sure how your composite repository is loaded, set the property 'p2.atomic.composite.loading' to either true or false.

Regards
Tobias

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=356561

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Pascal Rapicault
> Sent: Samstag, 17. November 2012 19:49
> To: Tycho user list
> Subject: Re: [tycho-user] When did Tycho start failing instead of just
> warning about p2 urls not containing a site ?
> 
> I believe this has been introduced in 0.16.
> 
> Try one of the following:
> 	- set the system property
> eclipse.p2.atomic.composite.loading.default to false
> 	- add the following property to all your
> composite(Content|Artifacts).(xml|jar)
> 		<property name='p2.atomic.composite.loading' value='false'/>
> 
> 
> On 2012-11-17, at 1:02 PM, Max Rydahl Andersen wrote:
> 
> > Hey,
> >
> > We got a build where one of the sites are a composite site pointing to a
> list of component sites, where not all of them are necessarily present
> yet.
> >
> > i.e. an integration site where we list:
> >
> >   ../modulex
> >   ../moduley
> >   ../modulez
> >
> > Previously when bootstrapping we would just get warnings they were not
> there yet, now Tycho fails when visiting these sites.
> >
> > Wondering if this is a changed and expected behaviour ?
> >
> > If it is expected, any suggestions on how to get the old behavior back
> (besides having to put fake empty sites on all these locations ?
> >
> > /max
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top