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
SWT should require Java 17 runtime in 4.28 #625
SWT should require Java 17 runtime in 4.28 #625
Comments
@HannesWell : For ppc64le build, which JVM is to use here: eclipse.platform.swt/Jenkinsfile Line 146 in c26d1ff
|
Note, we also still have build files that require Java 11, see #626. |
Note: there are still build files requiring Java 11 for execution (Jenkinsfile and buildSWT.xml). See eclipse-platform#626 Fixes eclipse-platform#625
Currently I'm stuck on some strange Jenkins build results in #627. If anyone has ideas, please comment there. |
Note: there are still build files requiring Java 11 for execution (Jenkinsfile and buildSWT.xml). See eclipse-platform#626 Fixes eclipse-platform#625
That's a JVM/JDK installed by the EFDN infra team and you want to use another one you have to open a ticket and ask them to add another one tot the build machines dedicated for ppc64le (see https://ci.eclipse.org/releng/label/swt.natives-gtk.linux.ppc64le/), which is at the moment only https://ci.eclipse.org/releng/label/swt.natives-gtk.linux.ppc64le/. But that and the other JDKs in that part assigned to the JAVA_HOME env variable only provide the headers used for the JNI code. eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat Lines 53 to 66 in 04678a2
That's probably something that should be unified.
The eclipse.platform.swt/Jenkinsfile Line 282 in 04678a2
In the stages that perform the SWT natives build respectively check if that is necessary and handle committing etc. Java-11 is indeed required if the ant tasks use javascript. But one of the goals of #513 is to get rid of ANT as much as reasonable possible, which (hopefully) then makes the use of embedded javascript obsolete. But in the meantime I think we can stay with the current setup, even if the bundles require Java-17 since in the build and test stage Java-17 is used as said above.
Fixed with #628 . |
Note: there are still build files requiring Java 11 for execution (Jenkinsfile and buildSWT.xml). See eclipse-platform#626 Fixes eclipse-platform#625
Note: there are still build files requiring Java 11 for execution (Jenkinsfile and buildSWT.xml). See eclipse-platform#626 Fixes eclipse-platform#625
SDK build failed with https://ci.eclipse.org/releng/job/Builds/job/I-build-4.28/63/console
@laeubi : that seem to be a difference between Jenkins / official build. Where is th eproblem? |
Note: there are still build files requiring Java 11 for execution (Jenkinsfile and buildSWT.xml). See eclipse-platform/eclipse.platform.swt#626 Fixes eclipse-platform/eclipse.platform.swt#625
Is that the reason: eclipse-platform/eclipse.platform.swt.binaries#36 ? |
Note: there are still build files requiring Java 11 for execution (Jenkinsfile and buildSWT.xml). See eclipse-platform/eclipse.platform.swt#626 Fixes eclipse-platform/eclipse.platform.swt#625
Discussed in #623
I've just noticed that SWT is still requires at least Java 11, even if the almost everything in platform (except equinox) is moved to Java 17.
Note that the Eclipse project Plan for 4.28 only sees Java 17 as supported platform.
We should switch SWT to require Java 17 runtime for 4.28 M2.
I will provide a PR.
The text was updated successfully, but these errors were encountered: