Upload
others
View
11
Download
0
Embed Size (px)
Citation preview
Building JavaFX From Scratchpresented by Michael Paus & Markus Karg
git clone https://github.com/javafxports/openjdk-jfx.git
./gradlew clean build
$ java -version $ cd […]/JavaLand/2019/JavaFX-CommunityEvent/Build $ git clone https://github.com/javafxports/openjdk-jfx.git $ cd openjdk-jfx/ $ bash ./gradlew clean build
Preparation: Default java musst be Java 11.0.2, 12 or 13. On a Mac Xcode (accept license!) must be installed. We also need the SDK of the latest JavaFX EA build.
Finish: Copy missing libraries from latest EA build to openjdk-jfx/build/sdk/lib/. Use new SDK in some JavaFX-Project.
• Print Java and JavaFX versions. log.debug("java.runtime.version: {}", System.getProperty("java.runtime.version", "?")); log.debug("javafx.version: {}“, System.getProperty("javafx.version", "?"));
• Setup example program to use new JavaFX-SDK.
Demo
Example bugfix: openjdk-jfx/modules/javafx.base/src/main/java/com/sun/javafx/binding/SelectBinding.java
Demo
Further common build variants
bash ./gradlew all test
bash ./gradlew -PFULL_TEST=true -PUSE_ROBOT=true all test
bash ./gradlew -PCOMPILE_WEBKIT=true -PCOMPILE_MEDIA=true build
Collaboration Process
• Start pagehttps://github.com/javafxports/openjdk-jfx
• Contributinghttps://github.com/javafxports/openjdk-jfx/blob/develop/.github/CONTRIBUTING.md
• Buildinghttps://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX