Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » self-provisioning
self-provisioning [message #108076] Mon, 14 April 2008 15:41 Go to next message
Simon Clarkson is currently offline Simon ClarksonFriend
Messages: 2
Registered: July 2009
Junior Member
Hi All,

I am not able to get Equinox p2 self-provisioning to work and I am hoping
someone will be able to point me in the right direction. Equinox p2
appears to solve all of our provisioning problems, it includes all the
features we have been calling out for, so we are really appreciative of
this new work. We are trying to use p2 in our RCP application to update
the bundles (self-provisioning).

The problem is that the code does not pick up the '_SELF_'
(eclipse.p2.profile property) profile. I see no code where this is set up
properly. There is code in the UI SDK plug-in to create "DefaultProfile"
when ANY_PROFILE is set, but we would not ultimately be running with
ANY_PROFILE set on. We can create the profile ourselves, but then it is
not the same profile as the workbench profile so is not much good.
Self-hosting does not work, and it is not clear what changes need to be
made to the org.eclipse.equinox.p2.selfhosting plug-in to get this to
work, so I am not able to step through the process used by the platform
IDE. The problem is, I just don't see how the self profile is supposed to
be initialized with the current bundles configured in the running product.
I am currently using M6a and code from head.

If anyone can provide a quick pointer, that would be very kind.

Simon
Re: self-provisioning [message #109637 is a reply to message #108076] Wed, 14 May 2008 02:04 Go to previous message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
This has been fixed in RC1.

"Simon Clarkson" <simone.clarkson@gmail.com> wrote in message
news:04e0c8bc95b761f78c7aac5e1d404003$1@www.eclipse.org...
> Hi All,
>
> I am not able to get Equinox p2 self-provisioning to work and I am hoping
> someone will be able to point me in the right direction. Equinox p2
> appears to solve all of our provisioning problems, it includes all the
> features we have been calling out for, so we are really appreciative of
> this new work. We are trying to use p2 in our RCP application to update
> the bundles (self-provisioning).
>
> The problem is that the code does not pick up the '_SELF_'
> (eclipse.p2.profile property) profile. I see no code where this is set up
> properly. There is code in the UI SDK plug-in to create "DefaultProfile"
> when ANY_PROFILE is set, but we would not ultimately be running with
> ANY_PROFILE set on. We can create the profile ourselves, but then it is
> not the same profile as the workbench profile so is not much good.
> Self-hosting does not work, and it is not clear what changes need to be
> made to the org.eclipse.equinox.p2.selfhosting plug-in to get this to
> work, so I am not able to step through the process used by the platform
> IDE. The problem is, I just don't see how the self profile is supposed to
> be initialized with the current bundles configured in the running product.
> I am currently using M6a and code from head.
>
> If anyone can provide a quick pointer, that would be very kind.
>
> Simon
>
Previous Topic:Getting a bundles jar location
Next Topic:Replacing a bundle from an installed feature
Goto Forum:
  


Current Time: Mon Oct 25 05:10:00 GMT 2021

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

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

Back to the top