RFR: 8210: Update devguide to mention Protocol Rules for Eclipse 2023-06 onward
Marcus Hirt
hirt at openjdk.org
Tue Mar 12 15:07:19 UTC 2024
On Tue, 12 Mar 2024 14:19:46 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:
> This PR adds some information to the devguide about using Eclipse 2023-06 and above. Newer Eclipse IDEs force the use of HTTPS for external update sites and artifacts, which out of the box conflicts with our local p2 repository.
>
> The fix is to allow http in Preferences > Install/Update > Trust > Authorities > Protocol Rules. I've added a screenshot to doc as well highlighting where to find it.
>
> I had run into this yesterday when taking a look at some interesting behaviour I was seeing when testing the Jolokia PR https://github.com/openjdk/jmc/pull/548#issuecomment-1989331436.
Isn't this dealt with earlier in the dev guide?
"
Install Eclipse, and before starting it, add the following two lines to the eclipse.ini file:
```
-Dp2.httpRule=allow
-Dp2.trustedAuthorities=https://download.eclipse.org,https://archive.eclipse.org,http://localhost
```
"
-------------
PR Comment: https://git.openjdk.org/jmc/pull/556#issuecomment-1991867947
More information about the jmc-dev
mailing list