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

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

Closed
chrisrueger opened this issue Jul 17, 2024 · 4 comments · Fixed by #6186

Comments

@chrisrueger
Copy link
Contributor

chrisrueger commented Jul 17, 2024

Based on eclipse-platform/eclipse.platform.swt#1012 (comment) 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:

  • MacOS Sonoma 14.5 (23F79)

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

  • OpenJDK Runtime Environment Temurin-17.0.11+9
  • as well as OpenJDK Runtime Environment Temurin-21.0.3+9

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

image image

Workarounds

  • it works e.g. with JDK Temurin 17.0.9+9 or other JDKs as pointed out here.

Relates to #5815

@chrisrueger chrisrueger changed the title Issues with bndtools Eclipse dev instance on MacOS Sonoma 14.3+ Issues with bndtools Eclipse dev instance on MacOS Sonoma 14.3+ with temurin JDK > 17.0.09+9 Jul 17, 2024
@chrisrueger
Copy link
Contributor Author

@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
Copy link
Member

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
Copy link
Contributor Author

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 #6186 and will do more testing with out app locally.

@pkriens
Copy link
Member

pkriens commented Jul 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants