bndtools / bnd

Bnd/Bndtools. Tooling to build OSGi bundles including Eclipse, Maven, and Gradle plugins.
https://bndtools.org
Other
530 stars 305 forks source link

Issues with bndtools Eclipse dev instance on MacOS Sonoma 14.3+ with temurin JDK > 17.0.09+9 #6185

Closed chrisrueger closed 2 months ago

chrisrueger commented 2 months ago

Based on https://github.com/eclipse-platform/eclipse.platform.swt/issues/1012#issuecomment-2232936903 and comments below.

The problem: new contributors will have a hard time figuring out what's wrong because the dev child eclipse instance shows a broken Ui without buttons etc.

This happens under the following setup:

and any Eclipse Temurin JDK > 17.0.09+9 such as:

Then, when launching bndtools Eclipse dev instance via bndtools.cocoa.macosx.aarch64.bndrun it looks like this:

image image

Workarounds

Relates to https://github.com/bndtools/bnd/issues/5815

chrisrueger commented 2 months ago

@pkriens @bjhargrave @kriegfrj I read in https://bnd.discourse.group/t/test-bnd-bndtools-bundle-in-eclipse/358/8 that P2 Repo for Eclipse 4.25 https://bndtools.jfrog.io/ui/native/bnd-build/eclipse/4.25/ is hand crafted.

I was wondering how this was done. Any docu links?

Furthermore: in #5815 @peterkir was mentioned, that who is working on some contributions (I guess this refers to the Oomph templates). @peterkir could you share your thoughts on that issue?

Basically what I am asking is: How can we get from the current Eclipse 4.25 (2022-09) to e.g. the latest Eclipse 4.32 (2024-06)?

bjhargrave commented 2 months ago

I read in https://bnd.discourse.group/t/test-bnd-bndtools-bundle-in-eclipse/358/8 that P2 Repo for Eclipse 4.25 https://bndtools.jfrog.io/ui/native/bnd-build/eclipse/4.25/ is hand crafted.

I was wondering how this was done. Any docu links?

Yes, I did the hand crafting. I don't have any docs on what I did. It happens so infrequently, I had no confidence what I did for 4.25 would even apply to any future eclipse release.

chrisrueger commented 2 months ago

Thanks @bjhargrave

In the meantime I took a shot in the dark and just upgraded Eclipse SWT to the latest version (from 3.121 to 3.126) and I suddenly everything looks fine again. I created https://github.com/bndtools/bnd/pull/6186 and will do more testing with out app locally.

pkriens commented 2 months ago

Wasn't @kriegfrj also intending to something with an update for this?