Moving to Gradle (finally)

Kevin Rushforth kevin.rushforth at oracle.com
Tue Jun 25 11:19:36 PDT 2013


You cannot run "gradle" in the rt repo just yet.

For now (i.e., until the switch to gradle with the accompanying repo 
reorg), you must run the generator.gradle script which reorganizes the 
repo to its new layout, and puts it, by default, in ../javafx

Among other things it copies gradleBuildSrc to buildSrc but also copies 
the multiple "mini" projects (javafx-ui-common, javafx-ui-controls, 
prism-*, etc) to their new locations under modules/**

-- Kevin


Mario Torre wrote:
> On Tue, 2013-06-25 at 13:10 -0400, steve.x.northover at oracle.com wrote:
>   
>> Hello OpenJFX,
>>     
>
>   
>> We are hoping that the workspace reorganization and the new gradle build 
>> will make it much easier for everybody to be able to build & test with 
>> JavaFX. 
>>     
>
> Hello Steve,
>
> Speaking of gradle, I have:
>
> [org.gradle.BuildExceptionReporter] A problem occurred evaluating root
> project 'rt'.
> [org.gradle.BuildExceptionReporter] > Could not read script
> '/home/neugens/work_space/jdk/openjfx/master/rt/buildSrc/linux.gradle'
> as it does not exist.
>
> There is actually a linux.gradle, but it's in gradleBuildSrc:
>
> ./gradleBuildSrc/linux.gradle
>
>
> If I change all the occurrences of buildSrc to be gradleBuildSrc in the
> build file, I can get to this:
>
> [org.gradle.BuildExceptionReporter] * What went wrong:
> [org.gradle.BuildExceptionReporter] A problem occurred evaluating root
> project 'rt'.
> [org.gradle.BuildExceptionReporter] > Could not find property
> 'JavaHeaderTask' on root project 'rt'.
>
> Any idea of what I may do wrong?
>
> Cheers,
> Mario
>
>
>   


More information about the openjfx-dev mailing list