Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] How can I create a p2 profile for my RCP product?

Indeed!

I thought that the metadata repository is just another optional export
(used for update sites) and has no effect on the exported product. But
it has!

Thanks!!!

Gabriel

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>
> wrote:
>>
>> Hi,
>>
>> 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.
>
> cheers,
> ian
>
>>
>> I have also opened a bug for this:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=308757
>>
>> Regards,
>> Gabriel
>>
>> --
>> MSc Gabriel Petrovay
>> Mobile: +41(0)787978034
>> www.28msec.com
>> _______________________________________________
>> p2-dev mailing list
>> p2-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/p2-dev
>
>
>
> --
> R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
> http://eclipsesource.com | http://twitter.com/eclipsesource
>
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev
>
>



-- 
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com


Back to the top