Building sources for jfxrt.jar and missing packages
Tom Schindl
tom.schindl at bestsolution.at
Tue Jul 16 04:39:32 PDT 2013
Do you already have an idea of the nameing & location? Or will it be
part of src.zip?
Tom
On 16.07.13 13:35, Kevin Rushforth wrote:
>
>> 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:
>> ...
>> Is this the correct way to go about it?
>>
>
> This looks like the right approach, yes (although rather than excluding
> a list of files, I would just include *.java). Btw, there is a JIRA on
> my plate to produce this for the production build -- RT-21415
> <https://javafx-jira.kenai.com/browse/RT-21415> -- but it was put on
> hold, due to the work on the gradle build among other things.
>
>> 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?
>>
>
> Media has not yet been open-sourced, but that work is in progress.
>
> -- Kevin
>
>
> Robert Fisher wrote:
>> 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