Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error with eclipse plugins #604

Closed
tobka777 opened this issue Sep 23, 2021 · 5 comments · Fixed by #607
Closed

Installation error with eclipse plugins #604

tobka777 opened this issue Sep 23, 2021 · 5 comments · Fixed by #607
Labels
bug Something isn't working eclipse related to Eclipse IDE enhancement New feature or request plugins related to plugins (for Eclipse, Intellij, VSCode, etc.)

Comments

@tobka777
Copy link
Member

Expected behavior

As an Eclipse-User, I want to install and use all plugins that are proposed in ide-settings.

Actual behavior

Installation of some plugins failed i.e. CheckStyle, FreeMarker

Steps to reproduce (bug)

  1. Install latest devonfw-ide version
  2. devon eclipse
@tobka777 tobka777 added the bug Something isn't working label Sep 23, 2021
hohwille pushed a commit to devonfw/ide-settings that referenced this issue Sep 24, 2021
@hohwille
Copy link
Member

hohwille commented Sep 24, 2021

Thanks for filing and fixing the issue. I merged your PR devonfw/ide-settings#19.
As it is a change in the settings it is not directly related to a release.
Projects that forked the settings still have to upstream-merge these changes to get the fix.

@tobka777 before we can close this issue.
For legacy compatibility reasons some plugin URLs are also coded into the eclipse script. It most cases it is not used, but some very old IDE installations do not have a plugins folder in their settings and then that script code comes into play.
Can you create a PR for that as well?
https://github.com/devonfw/ide/blob/master/scripts/src/main/resources/scripts/command/eclipse#L181

@hohwille hohwille added this to the release:2021.08.001 milestone Sep 24, 2021
@hohwille hohwille added eclipse related to Eclipse IDE enhancement New feature or request plugins related to plugins (for Eclipse, Intellij, VSCode, etc.) labels Sep 24, 2021
tobka777 added a commit to tobka777/ide that referenced this issue Sep 30, 2021
@tobka777
Copy link
Member Author

tobka777 commented Sep 30, 2021

Ok now I also changed some urls for legacy compatibility.
But I have for the plugins in eclipse script problems with:

Cannot complete the install because one or more required items could not be found.
	Software being installed: Eclipse GitHub integration with task focused interface 5.13.0.202109080827-r (org.eclipse.mylyn.github.feature.feature.group 5.13.0.202109080827-r)
	Missing requirement: Eclipse GitHub integration with task focused interface 5.13.0.202109080827-r (org.eclipse.mylyn.github.feature.feature.group 5.13.0.202109080827-r) requires 'org.eclipse.equinox.p2.iu; org.eclipse.egit.feature.group [5.13.0,5.14.0)' but it could not be found
  • Terminal:
Cannot complete the install because of a conflicting dependency.
	Software being installed: TM Terminal 4.1.0.201603090932 (org.eclipse.tm.terminal.feature.feature.group 4.1.0.201603090932)
	Software currently installed: TM Terminal 10.2.0.202012191711 (org.eclipse.tm.terminal.feature.feature.group 10.2.0.202012191711)
	Only one of the following can be installed at once: 
		TM Terminal 10.2.0.202012191711 (org.eclipse.tm.terminal.feature.feature.jar 10.2.0.202012191711)
		TM Terminal 4.1.0.201603090932 (org.eclipse.tm.terminal.feature.feature.jar 4.1.0.201603090932)
	Cannot satisfy dependency:
		From: TM Terminal 10.2.0.202012191711 (org.eclipse.tm.terminal.feature.feature.group 10.2.0.202012191711)
		To: org.eclipse.equinox.p2.iu; org.eclipse.tm.terminal.feature.feature.jar [10.2.0.202012191711,10.2.0.202012191711]
	Cannot satisfy dependency:
		From: TM Terminal 4.1.0.201603090932 (org.eclipse.tm.terminal.feature.feature.group 4.1.0.201603090932)
		To: org.eclipse.equinox.p2.iu; org.eclipse.tm.terminal.feature.feature.jar [4.1.0.201603090932,4.1.0.201603090932]

Maybe someone has an idea?

@hohwille
Copy link
Member

hohwille commented Oct 5, 2021

was autoclosed by PR, reopening as not all plugins are yet fixed.

@hohwille hohwille reopened this Oct 5, 2021
hohwille added a commit to devonfw/ide-settings that referenced this issue Dec 17, 2021
@hohwille
Copy link
Member

The remaining plugin that was still not working is spotbugs.
To complete this story, I just disabled this plugin by default so we have a default installation without errors.

@markusschuh
Copy link
Member

Hint: In order to install the newest spotbugs eclipse plugin without errors, update eclipse to 4.20 or newer.

For background see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=5720346
My summary: Eclipse 2021-03 (aka 4.19) which is installed by devonfw ide 2021.12.001 does not support sha256WithRSAEncryption for Timestamp Signature of signed plugins. This algorithm is now used by GlobalSign TSA - which is one of the few that can be used for timestamping without additional costs. The algorithm support was added in eclipse 4.20.

I have updated to latests eclipse with help of "Check for updates" and could install latest spotbugs plugin 4.5.2.r202112132137-0c8b4d1 with help of "devon ide add-plugin spotbugs"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working eclipse related to Eclipse IDE enhancement New feature or request plugins related to plugins (for Eclipse, Intellij, VSCode, etc.)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants