Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Problems building a p2-enabled Eclipse workbench-based product
Problems building a p2-enabled Eclipse workbench-based product [message #757470] Fri, 18 November 2011 15:05 Go to next message
Peter Saunders is currently offline Peter SaundersFriend
Messages: 30
Registered: July 2009
Member
I am generating a feature-based product using the PDE headless build script productBuild.xml. The product is similar to the Indigo Eclipse Platform (eclipse-platform-3.7*.zip) but with an extra feature. It does not use p2.gathering at present.

The product works correctly, but I get an error "This installation has not been configured properly for Software Updates" when I attempt to check for updates or install new software. The error log indicates:

!ENTRY org.eclipse.equinox.p2.ui.sdk 2 0 2011-11-18 14:32:04.023
!MESSAGE Could not locate the running profile instance. The eclipse.p2.data.area and eclipse.p2.profile properties may not be set correctly in this application's config.ini file.

The eclipse.p2.data.area and eclipse.p2.profile properties are not set at all in the config.ini file.

I have tried enabling p2.gathering but the resulting build does not include the eclipse.exe launcher.

What do I need to add to generate an equivalent .zip file using p2.gathering or is there an easier way to enable my product for updates?

All advice much appreciated!

Peter
Re: Problems building a p2-enabled Eclipse workbench-based product [message #781086 is a reply to message #757470] Fri, 20 January 2012 10:19 Go to previous message
Jan Mauersberger is currently offline Jan MauersbergerFriend
Messages: 120
Registered: July 2009
Senior Member
Peter,

I have exactly the same problem, only exception is that my product is
plugin based at the moment. I tried p2.gathering and also messed with
3.4 style p2 arguments but to no success.

Do you came to any conclusion or solution meanwhile?

Cheers
Jan


> I am generating a feature-based product using the PDE headless build
> script productBuild.xml. The product is similar to the Indigo Eclipse
> Platform (eclipse-platform-3.7*.zip) but with an extra feature. It does
> not use p2.gathering at present.
>
> The product works correctly, but I get an error "This installation has
> not been configured properly for Software Updates" when I attempt to
> check for updates or install new software. The error log indicates:
>
> !ENTRY org.eclipse.equinox.p2.ui.sdk 2 0 2011-11-18 14:32:04.023
> !MESSAGE Could not locate the running profile instance. The
> eclipse.p2.data.area and eclipse.p2.profile properties may not be set
> correctly in this application's config.ini file.
>
> The eclipse.p2.data.area and eclipse.p2.profile properties are not set
> at all in the config.ini file.
>
> I have tried enabling p2.gathering but the resulting build does not
> include the eclipse.exe launcher.
>
> What do I need to add to generate an equivalent .zip file using
> p2.gathering or is there an easier way to enable my product for updates?
>
> All advice much appreciated!
>
> Peter
Previous Topic:How to prevent bundle resume on restart
Next Topic:System Class loader and OSGi
Goto Forum:
  


Current Time: Fri Oct 22 14:20:35 GMT 2021

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

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

Back to the top