Foren

upgrade egit to 3.5 in LDS 2.2

thumbnail
Jack Bakker, geändert vor 9 Jahren.

upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
how do I upgrade egit to 3.5 in LDS 2.2 ?
thumbnail
David H Nebinger, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
Don't you just do it like other Eclipse upgrades, through the upgrade tool?
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
David H Nebinger:
Don't you just do it like other Eclipse upgrades, through the upgrade tool?


In a non-studio Eclipse Luna, I can go to Eclipse Marketplace, Find "egit" and click 'Update' for Egit - Git Team Provider 3.5.3 ; that works fine

However, in Eclipse LDS 2.2:

Approach 1) Check for updates:

- brings me to Available Updates which shows me Jeeyul's Themes and Task focused interface for Eclipse Git Team Provider
- clicking Finish shows No repository found at http://download.eclipse.org/tools/mylyn/update/luna.

Approach 2) Go to Eclipse marketplace:

- Find "egit" and click 'Update' for Egit - Git Team Provider 3.5.3
- click 'Confirm' for Confirm Selected Features (which includes Eclipse Git Team Provider and Java implementation of Git)
* Cannot perform operation. Computing alternate solutions...
- then again click 'Confirm' for Confirm Selected Features which shows: Will be upgraded/downgraded : Eclipse Git Team Provider, Java implementation of Git, Jeeeyul's Themes, and Task focused interface for Eclipse Git Team Provider
* Review Licenses : There are no licenses to review...
- Click Finish and I get:

An error occurred while collecting items to be installed
session context wasemoticonprofile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,net.jeeeyul.eclipse.themes,2.2.0.I20141210-114528
No repository found containing: osgi.bundle,net.jeeeyul.eclipse.themes.ui,2.2.0.I20141210-114528
No repository found containing: osgi.bundle,org.eclipse.egit,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.core,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.doc,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.mylyn.ui,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.ui,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit.archive,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,net.jeeeyul.eclipse.themes.feature,2.2.0.I20141210-114528
No repository found containing: org.eclipse.update.feature,org.eclipse.egit,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.egit.mylyn,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit,3.5.3.201412180710-r
thumbnail
Gregory Amerson, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
Hey Jack,

Try the following:
  • go to window > preferences > install > available software site
  • make sure that the updatesite for luna is available and checked http://download.eclipse.org/releases/luna
  • Add the egit updatesite here as well http://download.eclipse.org/egit/updates
  • Select OK
  • go to help > install new software...
  • select egit updatesite in the drop down
  • select the egit features you want to install (just selecting base egit will work)
  • make sure that you have "contact all site" option selected


The reason that these features look like they are going to be "newly installed" is because this features were originally shipped with the Developer Studio product feature. But now you are installing them as "root" features, so that is why they look like they are being installed "new" even though Dev Studio already contains EGit plugins.

Hope this helps.
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
Hi Greg,

After following your steps I still get Problem Occurred ; 'Installing Software' has encountered a problem. ; An error occurred while collecting items to be installed.

Clicking [Details] button shows:

An error occurred while collecting items to be installed
session context wasemoticonprofile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.egit,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.core,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.doc,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.mylyn.ui,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.ui,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit.archive,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.core.source,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.egit,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.egit.mylyn,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.mylyn.ui.source,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.egit.source,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.ui.source,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit.http.apache,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit.http.apache,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit.java7,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit.java7,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit.java7.source,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit.pgm,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit.pgm,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit.pgm.source,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit.pgm.source,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit.source,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit.source,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit.ui,3.5.3.201412180710-r
thumbnail
Gregory Amerson, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
Looks like you are trying to install the EGit source which you don't really need. See what happens if you only add the single "EGit" feature and try to install it then.
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
Gregory Amerson:
Looks like you are trying to install the EGit source which you don't really need. See what happens if you only add the single "EGit" feature and try to install it then.


When only installing the main "Eclipse Git Team Provider" (Version 3.5.3.201412180710-r) I still get:

An error occurred while collecting items to be installed
session context wasemoticonprofile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,net.jeeeyul.eclipse.themes,2.2.0.I20141210-114528
No repository found containing: osgi.bundle,net.jeeeyul.eclipse.themes.ui,2.2.0.I20141210-114528
No repository found containing: osgi.bundle,org.eclipse.egit,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.core,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.doc,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.mylyn.ui,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.egit.ui,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit,3.5.3.201412180710-r
No repository found containing: osgi.bundle,org.eclipse.jgit.archive,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,net.jeeeyul.eclipse.themes.feature,2.2.0.I20141210-114528
No repository found containing: org.eclipse.update.feature,org.eclipse.egit,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.egit.mylyn,3.5.3.201412180710-r
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit,3.5.3.201412180710-r
thumbnail
Gregory Amerson, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
What repositories do you have enabled in the Window > preferences > Install/Update > Available Update sites which ones are enabled? Also make sure that you hit "reload" for each of those repositories to make sure the metadata is current.
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
Gregory Amerson:
What repositories do you have enabled in the Window > preferences > Install/Update > Available Update sites which ones are enabled? Also make sure that you hit "reload" for each of those repositories to make sure the metadata is current.


By default the below 6 are enabled ; I also have tried enabling just the first two. I have reloaded all.

http://download.eclipse.org/releases/luna
http://download.eclipse.org/egit/updates
http://download.eclipse.org/mylyn/releases/3.13
http://www.nodeclipse.org/updates/
http://download.eclipse.org/eclipse/updates/4.4
http://download.eclipse.org/webtools/repository/luna


Am seeing this issue on LDS 2.0 (Windows7 and Ubuntu 14.04) and LDS 2.2 (Ubuntu 14.04 LTS)
thumbnail
Gregory Amerson, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
Hey Jack,

I just installed a brand new Studio 2.2 on Ubuntu 14.04 and here is what I did see attached screenshots. It installed with no problems. So we need to figure out what is different for you.
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
Hi Greg,

Thanks for the attention and screen caps. There's me on Ubuntu 14.04 trying this (LDS 2.2.0.201412010347) and another iABLE staff trying it on Windows7 (LDS 2.0 and also a clean LDS 2.2) and we each are seeing the same issue that I have described.

Interesting that your Next button is available in your "Workspace 1_075.png" ; I only get to click Finish.

The rest looks the same...
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
Weirdness

I changed the URLs to https (https://download.eclipse.org/releases/luna and https://download.eclipse.org/egit/updates) and then I watched update attempts hang. Then I changed both back to http.

I also unchecked Contact all update sites during install to find required software. I tried the update again (failed) then checked "Contact all update sites" again and...

Not sure which of above might have done it, but the upgrade of egit worked...

I then listened to the old disco tune "Funkytown" - for certain that experience is completely irrelevant
thumbnail
Gregory Amerson, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Legend Beiträge: 1123 Beitrittsdatum: 16.02.10 Neueste Beiträge
You will definitely need to keep "contact all update sites" checked so that resolution can finish.

Were you able to replicate this issue with a brand new installation of Studio 2.2?
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
Gregory Amerson:
You will definitely need to keep "contact all update sites" checked so that resolution can finish.

Yes, however, I had the issue with it checked... then I unchecked it, watched it fail, and checked it again...

Gregory Amerson:
Were you able to replicate this issue with a brand new installation of Studio 2.2?


I just did a fresh install, and this time I saw the Next button which brought me to the Eclipse Foundation Software User Agreement, which I accepted. So to answer you question: No issue with brand new install of Studio 2.2.

So... I think the issue I had is around the Eclipse license. As mentioned in my notes here in this thread, I didn't get the Next button (to get to accepting the license) and instead only had a Finish button. In my case with issue, I had a workspace already (from Studio 2.0) and also had a Liferay EE.
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
On Windows7 we had same issue in Studio 2.0 and 2.2 and the work around was to uncheck "Contact all update sites..."
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
I replicated the issue in a fresh install on Ubuntu 14.04 with Studio 2.2 where the portal and workspace are outside the root of the studio folder as below:

../studio-2.2.0
../62ee/liferay-portal-6.2ee-sp9
../62ee/workspace

workaround to install egit 3.5 was to uncheck "Contact all update sites..."
thumbnail
Jack Bakker, geändert vor 9 Jahren.

RE: upgrade egit to 3.5 in LDS 2.2

Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
fyi: https://github.com/blog/1938-vulnerability-announced-update-your-git-clients