[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] Re: IInstallFeatureOperation vs. P2

In p2 the model is different, you create a request (ProfileChangeRequest) 
that first gets resolved and eventually gets executed. The code in 
ProvisioningHelper.install() shows this. If you want you can probably 
directly use it.


Please take a look at the class ProvisioningHelper
"Eugen Reiswich" <reiswich@xxxxxx> wrote in message 
news:20cf0640f805ffd6c60cd7e4465b5392$1@xxxxxxxxxxxxxxxxxx
> Hi all,
>
> I'm developing an RCP application where I need to install, update and 
> uninstall some features programmatically. Right now I'm using the 
> org.eclipse.update.operations.OperationManager to create my install, 
> update and uninstall operations.
> As Eclipse Ganymede offers P2 to handle updates/installs  I wonder if 
> there are examples how to perform the same commands using p2. Is this 
> possible and how complicated will this be?
> After spending hours and hours with the P2 UI code I still haven't got an 
> idea how it really works. As I've already spent a lot of time to solve 
> this issue I would be very grateful for any advise.
>
> Regards,
> Eugen
>