[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [equinox-dev] Small RCP example with p2
- From: "Westbury, Nigel" <Nigel.Westbury@xxxxxxxxxx>
- Date: Mon, 14 Apr 2008 13:17:55 -0600
- Accept-language: en-US
- Acceptlanguage: en-US
- Delivered-to: email@example.com
- Thread-index: AcieX3bFeYupnAMPQjmap0I/fs5trwAAnTsg
- Thread-topic: [equinox-dev] Small RCP example with p2
I would use the UI provided by org.eclipse.equinox.p2.ui. Is this going to be a self-provisioning setup?
In terms of a minimal repository, p2 does not itself define the site layout. This is abstracted out, so you can get as simple as you like. If you want something more minimal than the old update site or a p2 update site then just implement your own repository factory. Extend the org.eclipse.equinox.p2.metadata.repository.metadataRepositories and org.eclipse.equinox.p2.metadata.repository.artifactRepositories. You will need a file at the URL that identifies this as your minimal repository (replacing the site.xml used by the old update manager), and you specify this file as the filter suffix in the extension.
> -----Original Message-----
> From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Matthias Luebken
> Sent: Monday, April 14, 2008 12:44 PM
> To: equinox-dev@xxxxxxxxxxx
> Subject: [equinox-dev] Small RCP example with p2
> I'm trying to put together a small p2 example: An RCP-App that
> triggers an update action and updates a plugin from an update site.
> My first question: Is there something like
> "UpdateManagerUI.openInstaller()" for p2?
> My second: How would a minimal p2-update site look like?
> Thanks in advance.
> blog: luebken.com
> equinox-dev mailing list