Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Problem updating product using p2
Problem updating product using p2 [message #504601] Mon, 21 December 2009 17:41
Eclipse UserFriend
Originally posted by:


I'm having a problem updating my p2-installed product to a new version.

I am using 3.5.1 and I am using the new p2.gathering property to create my
p2 repository. This is all done in a headless build.

My product install appears to work properly (it is listed in the Installed
Software tab). As part of my build I also install additional third-party
plugins and these appear to install properly (they are listed lin the
Installed Software tab too). If I then select the Help->Check for Updates
option, I see that there are new versions of the third-party plugins

I next created a new version of my product with a different number
( -> and pushed my p2-style update site to my internal
update server. When I selected the Help->Check for Updates option, I
expected to see my new product version available but it is not listed in the
Available Updates list. The list still contains the new versions of the
third-party plugins I have installed, but not my product.

In my product build I have a p2.inf file that contains the URL of my update
site and I have tested that the update site is up and valid through the
Availble Software Sites preference. I also see the URL of my update site in
the progress dialog prior to the Available Updates dialog appearing, so
framework appears to be pinging my site.

What is very odd is that if I choose a different set of menu items and
dialog actions, I can update my product to the new version. For example, if
I select Help->Install New Software and then click on the 'already
installed' link, I see my product in the Installed Software tab. If I then
select my product and then click the Update... button, the new version of my
product appears in the Available Updates tab. I am then able to update my

Any thoughts on why my product is available to update from one path but not
the other?

I am using the p2 repository that is created during my build as my update
site. Is this the correct thing to do?

Are there any debugging flags that I can turn on to get additional


Previous Topic:PDE product export in 3.5
Next Topic:Problem updating product using p2
Goto Forum:

Current Time: Thu Aug 06 13:23:22 GMT 2020

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

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

Back to the top