Building sources for jfxrt.jar and missing packages

Robert Fisher rfisher at tesis.de
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:
 


build.gradle:
 
task jfxrtSources()
 
compileTargets{
 
...
 
def jfxrtSourcesTask = task("jfxrtSources$t.capital", type: Jar) {
     group = "Basic";
     description = "Creates the jfxrt-sources.jar for the $t.name target";
     archiveName = "build/${t.name}-sdk/rt/lib/ext/jfxrt-sources.jar";
     includeEmptyDirs = false;
     from("modules/base/src/main/java",
          "modules/builders/src/main/java",
          "modules/controls/src/main/java",
          "modules/designTime/src/main/java",
          "modules/fxml/src/main/java",
          "modules/fxpackager/src/main/java",
          "modules/graphics/src/main/java",
          "modules/web/src/main/java");
 
     if (COMPILE_SWING) from ("modules/swing/src/main/java");
     if (COMPILE_SWT) from ("modules/swt/src/main/java");
 
     exclude(targetProperties.jfxrtJarExcludes);
}
jfxrtSources.dependsOn(jfxrtSourcesTask);
 
...
 
}


 
Is this the correct way to go about it?
 
I also noticed that the jfxrt.jar from the latest JDK1.8 snapshot includes com.sun.media.* 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,
Rob
 
 
Mit freundlichen Grüßen
Best Regards

Dr. Robert Fisher
____________________________________________________________

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

http://www.tesis-dynaware.com
robert.fisher at tesis.de

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: http://www.tesis-dynaware.com/customers


More information about the openjfx-dev mailing list