Instructions for working on OpenJFX

Lennart Börjeson lennart.borjeson at cinnober.com
Fri Jan 19 14:59:34 UTC 2018


> 19 jan. 2018 kl. 15:37 skrev Kevin Rushforth <kevin.rushforth at oracle.com>:
> 
> What version of gradle are you using? gradle 4.3, which is what we recommend / use in production, does not do parallel task execution by default. Are you enabling it in your gradle.properties file? Or maybe using a later version of gradle?
> 
> -- Kevin
> 

Ah! Mea culpa; I do indeed have enabled it in my properties. Haven't touched it for a year, so it had completely slipped my mind.

Anyway, the wiki should perhaps mention that parallel execution should be off? I spent several days trying to find the reason for the failure until I just happened to try --no-parallel.

My linux build seem to work with parallel on, but that is perhaps only by pure luck?

I'm using gradle 4.3.1, BTW.

/Lennart

> 
> Lennart Börjeson wrote:
>> 19 jan. 2018 kl. 01:10 skrev Kevin Rushforth <kevin.rushforth at oracle.com<mailto:kevin.rushforth at oracle.com>
>> >:
>> 
>> #2. You should be able to build just the FX bits (outside your IDE) using:
>> 
>>   gradle sdk
>> -or-
>>   gradle javadoc
>> 
>> 
>> 
>> When building on my Mac, I've found that I must specify
>> 
>> gradle --no-parallel sdk
>> 
>> otherwise the build will consistently fail with:
>> 
>> 
>> FAILURE: Build failed with an exception.
>> 
>> * What went wrong:
>> A problem was found with the configuration of task ':graphics:compileDecoraNativeShadersMac'.
>>   
>> 
>>> Directory '/Users/lennartb/RaT/openJDK/javafx-10/modules/javafx.graphics/build/gensrc/headers/javafx.graphics' specified for property 'headers' does not exist.
>>>     
>>> 
>> 
>> 




More information about the openjfx-dev mailing list