[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] How can I create a p2 profile for my RCP product?
- From: Gabriel Petrovay <gabipetrovay@xxxxxxxxx>
- Date: Mon, 12 Apr 2010 00:02:26 +0200
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=k6H6fc8HDpGJDXke9awprHgux6tyAZzFzl85zdxkklZxwQwLZTmAqrqD5xdeI1pKCG xq4XKuXJsoilq30XCD3DI29/lb/H+kjB3FKNlIPI+gGJqe5KSiM8qTuisGJA/Zjt6FuZ KUlDgSQ31iOZ7ls+0uczKWOwpuogXHuHGpY4U=
I thought that the metadata repository is just another optional export
(used for update sites) and has no effect on the exported product. But
On Sun, Apr 11, 2010 at 11:18 PM, Ian Bull <irbull@xxxxxxxxxxxxxxxxx> wrote:
> On Sun, Apr 11, 2010 at 2:04 PM, Gabriel Petrovay <gabipetrovay@xxxxxxxxx>
>> I am running a headless Eclipse product (I hope headless is the
>> correct term when running it NOT HOSTED in another Eclipse workbench).
> Headless usually refers to an application without a UI. :-)
>> The .p2 directory gets created when I start the product. When I want
>> to access the p2 update UI, the ProvisionException is thrown because
>> ANY_PROFILE is false. How can I create one profile (maybe a default
>> SDKProfile) such that I can make my Eclipse product updatable.
>> Currently I get the notorious message:
>> "Cannot complete the request. This installation has not been
>> configured properly for Software Updates."
> Right, so this technically means that you don't have a p2 agent. Creating a
> p2 directory comes down to how you are doing your builds. If you are simply
> "exporting" from the workbench (product->export), then make sure you select
> the checky box "generate a metadata repository). If you are using PDE/Build
> for this, make sure you have the option p2.gathering=true.
> In both cases this will cause the build infrastructure to properly "install"
> your application. It is the install step that creates the directory and
> thus gives you a managing agent.
> I hope that helps.
>> I have also opened a bug for this:
>> MSc Gabriel Petrovay
>> Mobile: +41(0)787978034
>> p2-dev mailing list
> R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
> http://eclipsesource.com | http://twitter.com/eclipsesource
> p2-dev mailing list
MSc Gabriel Petrovay