How to build openjfx in its current state
richard.bair at oracle.com
Fri Feb 8 07:29:21 PST 2013
>> Now that a *lot* of stuff is in the open, I'm trying to build without
>> linking to jfxrt.jar. I should get pretty far on that. Once the build
>> is succeeding up to the point it should, then I'll test against a
>> stripped down jfxrt.jar (that only contains the closed bits) so that I
>> can make sure the open build is working correctly.
> I tried to put the openjfxrt.jar into my OpenJDK (and using it instead
> of the closed jfxrt.jar).
> I don't get very far, because of some missing classes in the .beans
> package that are needed right away.
Even though I'm replacing the ant scripts with the gradle scripts, I'm first getting the open ant scripts to work right in part to help me get 100% up to speed on our build process and also so you guys don't have to wait a few weeks while I'm trying to get the new gradle scripts working. I should have it sorted today (famous last words).
> Do you have a list of the things that still need to be open sourced
> (even as an estimate if you can't disclose the list yet)?
These are now open source (yay!):
These should be out in less than two weeks:
These we're chasing down the final bits. I would say within a month if all goes well, a couple months if it doesn't.
At this point we are ALMOST fully open source. The only remaining nugget (AFAIK!) is javafx-font. This presently relies on T2K. I don't want to plug in FreeType the way we did on the JDK side. Rather, I'd like the open implementation to be a simple thin-wrapper on top of the native APIs, so that we use Pango / Direct2D / Cocoa or whatnot in order to both give us the glyphs to draw and also to do line measurement / complex text layout / etc (right now we rely on a combination of T2K and ICU). The reason we think this will work for us is that with Java 8 we no longer officially support Windows XP, so we can finally leave GDI as our least-common-denominator out. (GDI just couldn't do what we needed, so we had to have our own implementation anyway, so it made sense to just use it across the board).
More information about the openjfx-dev