Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » sites to use during a feature installation
sites to use during a feature installation [message #1012993] Fri, 22 February 2013 15:21 Go to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1362
Registered: July 2009
Senior Member
Hi

probably that's been asked before but I found no answer...

say that I provide a p2 repository for my features, which require
features from other update sites; I tried to use a p2.inf file in my
feature with an addRepository touchpoint, since in the help
(http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_customizing_metadata.html)
I read "The repository will then be available when installing or
updating the profile in the future" but the added repositories are not
available during feature installation: only after the feature is
installed, right?

is there then a way to accomplish that, i.e., specify additional sites
to be used when installing my features from my repository?

thanks in advance
Lorenzo



--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Re: sites to use during a feature installation [message #1014237 is a reply to message #1012993] Mon, 25 February 2013 12:25 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de Alwis
Messages: 191
Registered: January 2012
Senior Member

I'm not a p2 expert, but I think you're correct: those touchpoints will only be iin effect after the feature is installed.

One way that might accomplish this is to use a composite repository that includes pointers to your additional repos as well as your actual repo.

Brian.


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Re: sites to use during a feature installation [message #1014731 is a reply to message #1014237] Tue, 26 February 2013 11:02 Go to previous message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1362
Registered: July 2009
Senior Member
On 02/25/2013 01:25 PM, Brian de Alwis wrote:
> I'm not a p2 expert, but I think you're correct: those touchpoints will
> only be iin effect after the feature is installed.
>
> One way that might accomplish this is to use a composite repository that
> includes pointers to your additional repos as well as your actual repo.

Hi Brian

composite repository is actually the solution I've been using for some
time... I was wondering whether there was a more "direct" way...

let's see if someone else speaks :)

cheers
Lorenzo


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Previous Topic:problem with webstart
Next Topic:URI is not hierarchical
Goto Forum:
  


Current Time: Tue Sep 30 10:15:47 GMT 2014

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

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