Skip to main content



      Home
Home » Eclipse Projects » Equinox » self-provisioning
self-provisioning [message #108076] Mon, 14 April 2008 11:41 Go to next message
Eclipse UserFriend
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] Tue, 13 May 2008 22:04 Go to previous message
Eclipse UserFriend
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: Thu Jul 03 12:10:14 EDT 2025

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

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

Back to the top