[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: Problem with gradle ...
From:       Nir Lisker <nlisker () gmail ! com>
Date:       2019-10-31 15:11:27
Message-ID: CA+0ynh-DggaAfsgZRvA4MDNjNuYE8TPy+_3QRXQdCTYdP=ws4Q () mail ! gmail ! com
[Download RAW message or body]

I think Eclipse sometimes causes folders to be marked as read-only (can't
find the reference). I had issues where I couldn't rebuild because
the modules\javafx.base folder was read-only for some reason and I had to
delete is manually. It would reoccur seemingly randomly.

On Thu, Oct 31, 2019 at 4:48 PM Jeanette Winzenburg <fastegal@swingempire.de>
wrote:

>
> Zitat von Nir Lisker <nlisker@gmail.com>:
>
> > Seems like an OS level issue. I've not gotten this one yet. Could be a
> file
> > lock, read-only file, user permissions config etc.
> >
>
> yeah, for some reason the folder was write-protected .. removed for
> now, will dig later as to why it happened in the first place.
>
> Thanks for your support!
>
> - Jeanette
>
>
> > On Thu, Oct 31, 2019 at 4:24 PM Jeanette Winzenburg <
> fastegal@swingempire.de>
> > wrote:
> >
> >>
> >> 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@swingempire.de>:
> >>
> >> > Zitat von Nir Lisker <nlisker@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@swingempire.de>
> >> >> wrote:
> >> >>
> >> >>>
> >> >>> Zitat von Nir Lisker <nlisker@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@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
> >> >>>>>
> >> >>>>>
> >> >>>>>
> >> >>>>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >>
> >>
> >>
> >>
>
>
>
>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic