fidley / ABAPQuickFix

ABAP Quick Fix
https://abapblog.com
MIT License
42 stars 9 forks source link

Installation for ADT 2022-09 doesn't work #46

Closed aztechowski closed 1 year ago

aztechowski commented 1 year ago

I'm trying to install the plugin from https://marketplace.eclipse.org/content/abap-quick-fix and I'm receving following error:

Unable to read repository at https://fidley.github.io/ADTPluginsUpdateSite/UpdateSite/content.xml. PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.

It's happen for all your plugins.

fidley commented 1 year ago

This is because of new requirement of Eclipse marketplace to have plugin update site stored under HTTPS. The easiest way to correct the issues is to add those two lines into eclipse.ini at the end.

-Djavax.net.ssl.trustStore=NONE -Djavax.net.ssl.trustStoreType=Windows-ROOT

Other would be to download github certificates and add them to cert library of java.

aztechowski commented 1 year ago

The way with two lines at the end works perfecty.

MartinH1337 commented 12 months ago

The lines fixed to install Favorites, but not for ADT ext and Quick Fix. An error occurred while collecting items to be installed session context was:(profile=C__Users_xxx_eclipse_java-2022-06_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,com.abapblog.adt.quickfix,1.1.4.202308202221 No repository found containing: org.eclipse.update.feature,com.abapblog.adt.quickfix.feature,1.1.4.202308202221 No repository found containing: osgi.bundle,com.abapblog.adt.quickfix.release.notes.content,1.0.0.202308202221 No repository found containing: osgi.bundle,com.abapblog.branding,1.0.0.202308202221 I am using 2023-03. Any idea?

fidley commented 12 months ago

Hi @MartinH1337, that's strange behaviour, I was today installing all plugins on my new machine without issues.

Maybe you could try to download the update site to your PC. https://github.com/fidley/ADTPluginsUpdateSite the code is here. Just download the Update Site folder and use it in Eclipse for local plugin installation

image

MartinH1337 commented 12 months ago

Thank you for your quick reply. I guess it is something like enterprise endpoint security or something. Whole eclipse went weird and update as well as fresh install also failed. Now I am back to middle ages until I get eclipse working again. My fault. No backup, no mercy. :-(

fidley commented 12 months ago

I feel your pain. Been there few times in the past...