Building sources for jfxrt.jar and missing packages

Robert Fisher rfisher at
Tue Jul 16 01:33:03 PDT 2013

Hi everyone,
I´m trying to build a jar containing all sources for jfxrt.jar, so I can attach it in Eclipse. For this I´ve added the following lines to the root build.gradle:

task jfxrtSources()
def jfxrtSourcesTask = task("jfxrtSources$", type: Jar) {
     group = "Basic";
     description = "Creates the jfxrt-sources.jar for the $ target";
     archiveName = "build/${}-sdk/rt/lib/ext/jfxrt-sources.jar";
     includeEmptyDirs = false;
     if (COMPILE_SWING) from ("modules/swing/src/main/java");
     if (COMPILE_SWT) from ("modules/swt/src/main/java");

Is this the correct way to go about it?
I also noticed that the jfxrt.jar from the latest JDK1.8 snapshot includes* packages which are not yet part of OpenJFX (at least I don´t think so, as my modules/media directory is empty). Is there a reason for this?
Thanks in advance,
Mit freundlichen Grüßen
Best Regards

Dr. Robert Fisher

Technische Simulation Dynamischer Systeme GmbH
Baierbrunner Str. 15
D-81379 München
Tel: +49-89-747377-7440
Fax: +49-89-747377-99
robert.fisher at

Geschäftsführung / Board of Directors
Dr.-Ing. Cornelius Chucholowski - Dipl. Ing. Christian Zahn
Amtsgericht München, HRB 115649

TESIS DYNAware simulation software is in use at Audi, BMW, Ford, MAGNA, MAN, VW and elsewhere.

Read more:

More information about the openjfx-dev mailing list