|Problem updating product using P2 [message #506277]
||Wed, 06 January 2010 18:32
Originally posted by: cjcool.comcast.net|
re-posting here as I received no response from the eclipe.platform.pde
group. Any help greatly appreciated...
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
(22.214.171.124 -> 126.96.36.199) 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
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
Powered by FUDForum
. Page generated in 0.09569 seconds