Slide 1

Slide 1 text

Building JavaFX From Scratch presented by Michael Paus & Markus Karg git clone https://github.com/javafxports/openjdk-jfx.git ./gradlew clean build

Slide 2

Slide 2 text

$ 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.

Slide 3

Slide 3 text

• 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

Slide 4

Slide 4 text

Example bugfix: openjdk-jfx/modules/javafx.base/src/main/java/com/sun/javafx/binding/SelectBinding.java Demo

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

Collaboration Process • Start page
 https://github.com/javafxports/openjdk-jfx • Contributing
 https://github.com/javafxports/openjdk-jfx/blob/develop/.github/ CONTRIBUTING.md • Building
 https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX