How to build openjfx in its current state
richard.bair at oracle.com
Thu Feb 7 08:18:52 PST 2013
I would love help! I've pushed both the gradle files (generator.gradle & build.gradle) into the rt repository. Danno reported that the build didn't succeed due to some decora issues -- I'm going to open source the rest of decora here in a few minutes and then work on the public-only build scripts to make sure that what is there will compile.
There is a lot left to do on the scripts. I'm keeping a running list at the head of the file:
* Tasks to complete:
* - special tasks for common needs, such as:
* - updating copyright headers
* - stripping trailing whitespace (?)
* - checkstyle
* - findbugs
* - re needs?
* - testing
* - build check -- making sure the final artifact has the right bits
* - API change check
* - JavaDoc
* - Pushing results to a repo?
* - VersionInfo needs to be parameterized so hudson can produce valid values
* - partial builds for compileXXX shaders isn't working (they also get compiled)
* - ServiceWithSecurityManagerTest fails to complete when run from gradle.
This list is probably only 30% of the remaining tasks, as I find them I'm trying to keep it updated. The JIRA issues are:
I'm learning Gradle as I'm going so in addition to just the normal work, there's a lot of learning going on. Also the build scripts are no doubt not factored optimally etc. I'm really enjoying Gradle though, there is a lot of convenience both for the script author and the normal developer just trying to do a build.
Once the Decora bits are open, the next major issue is going to be building native code, figuring out how we are going to approach that. What I want is the ability to skip building natives and just reuse a pre-built native if it is available, but this will not work until continuous binaries are posted into a repository that we can download from. In the mean time, developers are going to need to make sure they have the appropriate open build tools installed.
Also, we should update the build instructions on the wiki. I am all setup to do screencasts and would like to post some to YouTube as well and link them from our wiki in addition to normal textual instructions.
Some of the things I've been keeping track of in that regard:
Build System TOI
• gradle tasks
• gradle tasks --all
• gradle graphics:test
• gradle graphics:test -Dtest.single=FooBarTest
• debugging tests
When setting up Intellij, the SDK MUST NOT HAVE JFXRT.JAR on the CLASSPATH!!
On Feb 7, 2013, at 7:00 AM, Mario Torre <neugens at redhat.com> wrote:
> Hi all!
> The build instructions for building OpenJFX seems a bit outdated (or I'm
> reading them wrong), and no matter how I try I always get compilation
> failures (I'm trying OpenJFX 8 :).
> Dalibor presentation at FOSDEM was about this how to build OpenJFX from
> sources, but I didn't take notes :)
> Is it possible to have a quick refresher?
> And speaking about that, I remember that Richard was doing some
> experiments with Gradle, did you made some progress in that regard or is
> there anything we can do to help on that?
More information about the openjfx-dev