Problem with gradle ...
Jeanette Winzenburg
fastegal at swingempire.de
Thu Oct 31 14:24:09 UTC 2019
okay, now build everything went fine, but get an file access error
> Task :controls:test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':controls:test'.
> java.nio.file.AccessDeniedException:
> C:\Daten\data-for-work\eclipse\gitrep-openjdk\jfx-fork\modules\javafx.controls\build\reports\tests\test
Afaik, there are no access restrictions anywhere on my local (win10)
machine .. hmm, any ideas what happened?
- Jeanette
Zitat von Jeanette Winzenburg <fastegal at swingempire.de>:
> Zitat von Nir Lisker <nlisker at gmail.com>:
>
>> Yes, the wrapper will know to download the correct version. I updated the
>> build instructions page [1] to be more specific about the wrapper recently,
>> and there is another update coming soon due to a problem I recently
>> encountered with the buildsrc.
>>
>> Run ./gradlew from the root folder of the project (or give it the full path
>> to it if you're not in the root folder).
>>
>> [1]
>> https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-Gradle
>>
>
> ahhh .. cool, something happens :) Thanks for the pointer, should
> have checked the build instructions first ..
>
> - Jeanette
>
>> On Thu, Oct 31, 2019 at 3:58 PM Jeanette Winzenburg
>> <fastegal at swingempire.de>
>> wrote:
>>
>>>
>>> Zitat von Nir Lisker <nlisker at gmail.com>:
>>>
>>>> Did you run the wrapper with gradlew or just gradle? The latter uses the
>>>> "global" version installed on the OS which might not be up to date (use
>>>> 'gradle --version' to check).
>>>>
>>>
>>>
>>> in my cygwin console I type:
>>>
>>> gradle
>>>
>>> and get the error message .. hmm ... so, yeah seems to be global
>>> version that's out of date.
>>>
>>> Are you saying that using gradlew (*cough - how exactly?) would keep
>>> the required version up-to-date?
>>>
>>> Thanks
>>> Jeanette
>>>
>>>> - Nir
>>>>
>>>> On Thu, Oct 31, 2019 at 3:41 PM Jeanette Winzenburg <
>>> fastegal at swingempire.de>
>>>> wrote:
>>>>
>>>>>
>>>>> .. fails (gradle run from cygwin console) with:
>>>>>
>>>>> * Where:
>>>>> Build file
>>>>> 'C:\Daten\data-for-work\eclipse\gitrep-openjdk\jfx-fork\build.gradle'
>>>>> line: 250
>>>>>
>>>>> * What went wrong:
>>>>> A problem occurred evaluating root project 'jfx-fork'.
>>>>> > FAIL: Gradle version too old: 4.10.2; must be at least 5.3
>>>>>
>>>>> which is rather clear in itself, but ... how to update? It seems to
>>>>> too nothing, not even list the tasks
>>>>>
>>>>> CU, Jeanette
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>>
More information about the openjfx-dev
mailing list