Thanks Helmut, Could you please attach your patch to this bug report. https://bugs.eclipse.org/bugs/show_bug.cgi?id=227372
-Simon [EMAIL PROTECTED] wrote on 04/16/2008 11:39:25 AM: > Ciao Pascal :) > Attached is a patch that would make the collect phase context aware, > tried to keep this small and simple considering the advanced point in > release time. > Please don't hesitate to request a different approach!! :) > Tried the code successfully in my environment where no registering of > artifact repos is necessary any more if the context knows about them... > HTH, > Ciao, hh > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Pascal Rapicault > Sent: 16 April 2008 14:42 > To: Equinox development mailing list > Cc: Equinox development mailing list; [EMAIL PROTECTED] > Subject: Re: [equinox-dev] [p2] ProvisionContext > > You did not miss anything. So far we did not had the need for this so we > did not implement it :-) > That said this should be pretty straightforward to implement (change the > provisioning context and the collect phase to take the context into > account). > If you are willing to take a stab at it let us know. Depending on the > size > of the patch this could be integrated in 3.4. > > PaScaL > > > > > |------------> > | From: | > |------------> > > >----------------------------------------------------------------------- > ------------------------------------------------------------------------ > ---| > |"Haigermoser, Helmut" <[EMAIL PROTECTED]> > | > > >----------------------------------------------------------------------- > ------------------------------------------------------------------------ > ---| > |------------> > | To: | > |------------> > > >----------------------------------------------------------------------- > ------------------------------------------------------------------------ > ---| > |"Equinox development mailing list" <equinox-dev@eclipse.org> > | > > >----------------------------------------------------------------------- > ------------------------------------------------------------------------ > ---| > |------------> > | Date: | > |------------> > > >----------------------------------------------------------------------- > ------------------------------------------------------------------------ > ---| > |04/16/2008 06:32 AM > | > > >----------------------------------------------------------------------- > ------------------------------------------------------------------------ > ---| > |------------> > | Subject: | > |------------> > > >----------------------------------------------------------------------- > ------------------------------------------------------------------------ > ---| > |[equinox-dev] [p2] ProvisionContext > | > > >----------------------------------------------------------------------- > ------------------------------------------------------------------------ > ---| > > > > > > Ciao Guys :) > I stumbled over the following: When trying to use a specific set of > repositories instead of all the registered onces I tried using a > ProvisionContext with a defined set of URLs containing meta- and > artifact repositories. This worked fine with metadata. :) > However, during installation the artifacts referenced by the metadata > could not be found, looks like the context only includes metadata, not > artifact repositories. I ended up registering my artifact repo to the > manager but that way all registered repos were considered during the > operation in contrast to the limited set I would have wanted to use. > > Is this a p2 limitation or really necessary due to some logic I did > miss? > TIA, > Ciao, hh > _______________________________________________ > equinox-dev mailing list > equinox-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/equinox-dev > > > _______________________________________________ > equinox-dev mailing list > equinox-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/equinox-dev > [attachment "provisioncontext.patch" deleted by Simon > Kaegi/Ottawa/IBM] _______________________________________________ > equinox-dev mailing list > equinox-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/equinox-dev _______________________________________________ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev