Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Upgrading install to 2019-12
Upgrading install to 2019-12 [message #1816423] Tue, 29 October 2019 10:21 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 312
Registered: December 2015
Senior Member
Hi, I'm trying to upgrade my Oomph-based IDE to the latest 4.14 build, to get around a nasty platform bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=551067).

What I did is to Navigate->Open Setup->Installation and change the Product Version property on the root element from Eclipse Committers Latest Released (2019-09) to Eclipse Committers Latest (2019-12). I then launch Help->Perform Setup Tasks.. but no updates are found, and I don't understand why. Any ideas?

Thanks,
Felix

Re: Upgrading install to 2019-12 [message #1816454 is a reply to message #1816423] Tue, 29 October 2019 15:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30883
Registered: July 2009
Senior Member
Did you look at the p2 task that you performed to see what update sites it's using? Perhaps you've contributed other things to the p2 task previously that already resulted in the use of 2019-12?

In the end, if p2 doesn't find updates then there are no updates at the sites being used...
Re: Upgrading install to 2019-12 [message #1816497 is a reply to message #1816454] Wed, 30 October 2019 08:23 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 312
Registered: December 2015
Senior Member
I checked for updates the 'old way': Help->Install New Software. And the UI offers to update the epp.committers package. I tried to install it, but there's a conflict. I assume I would see the same conflict in the oomph logger? The only other reason I can think of is that in the 2019-12 setup model, a version requirement of [4.13... is used. I had guessed that if a 4.14 is available, p2 would eagerly update if 4.13 is the current version.. Maybe I'm wrong?
Re: Upgrading install to 2019-12 [message #1816499 is a reply to message #1816497] Wed, 30 October 2019 08:34 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30883
Registered: July 2009
Senior Member
I've not regenerated the catalog for 2019-12's actual contents, but the version range is just a lower bound and the update site itself does have newer things in it...

If there's a conflict when trying to update, then p2 director task will not find a solution and it will indicate there are no updates available/possible. The way resolution works with the p2 director task is somewhat different than the way "check for updates" or "install new software" work." These generally pick the newest (features) things in the repository and try to update to those. That process can find conflicts when trying to install/update to those. Then it can "interactively" look for alternatives and offer alternatives that might require uninstalling things that conflict at the user's discretion. The p2 director task is not interactive and is based purely on requirements, creating an artifact root installable unit as the thing to actually install (whereas "check for updates" or "install new software" work directly with a set of root features) and the task attempts as best as possible to find a solution based on the overall set of requirements. No remediation is possible. There either is a solution or there is not.
Re: Upgrading install to 2019-12 [message #1816504 is a reply to message #1816499] Wed, 30 October 2019 09:48 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 312
Registered: December 2015
Senior Member
Still not sure if Oomph outputs a different messages for "update available but cannot be installed" and "no update available". I looked at P2TaskImpl.java l818ff so at least yere it seems that no distinction is made. I'll just try to install a new ide now and see what happens there.
Previous Topic:Fail
Next Topic:Testing changes in project setup files
Goto Forum:
  


Current Time: Tue Feb 18 11:03:59 GMT 2020

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

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

Back to the top