Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Problem updating product using P2
Problem updating product using P2 [message #506277] Wed, 06 January 2010 18:32
Eclipse UserFriend
Originally posted by: cjcool.comcast.net

re-posting here as I received no response from the eclipe.platform.pde
group. Any help greatly appreciated...

=================================================
Hey,

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
available.

I next created a new version of my product with a different number
(2.2.2.0 -> 2.2.3.0) 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
product.

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
information?

Thanks,

Chris
Previous Topic:P2 Galileo Mirroring - .blobstore
Next Topic:Using P2 to find "All Plugins that depend somehow on Plugin X"
Goto Forum:
  


Current Time: Thu Apr 25 14:06:52 GMT 2024

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

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

Back to the top