-
Notifications
You must be signed in to change notification settings - Fork 281
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
Move away from "Monocle" in favor of "Headless" #1225
Conversation
ant/javafx.xml
Outdated
@@ -207,6 +207,28 @@ | |||
</not> | |||
</condition> | |||
|
|||
<!-- FIXME: | |||
- Temporary johan mirror URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has progressed significantly since, quoting:
[Gluon has] a working build in our public Nexus repository, that you can test:
<repository> <id>Gluon Releases</id> <url>https://nexus.gluonhq.com/nexus/content/repositories/releases/</url> </repository> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-controls</artifactId> <version>24-headless+0-2024-12-02-101029</version> </dependency>In order to select the headless platform, you need to add:
-Dglass.platform=HeadlessThis can run on sw pipeline as well (convenient for CI).
This PR depends on the switch to JDK21, making it a good candidate to rebased and merged into #1222 (edit: perhaps #1216) however this will depend on whether or not the repository is compatible with Ivy, so this PR was created as a stop-gap for testing interim headless builds. I'll do some integration testing.
Switches to the new experimental
glass.platform="Headless"
property, removing the special monocle JavaFX dependency.jdk21
branch, but the only relevant commits should be those on or after d87055b.Fixes #1253.