Re: Gradle support and depending projects

2021-06-29 Thread Thomas Kellerer
It seems this problem only affects the project to which the currently visible file in the editor belongs to. So if I have projects A,B and C open, and the active editor shows a file from project B when I close NetBeans, then those unresolved imports (even in the same package of the project)

Re: Gradle support and depending projects

2021-06-22 Thread Thomas Kellerer
I already did that. With it enabled, NetBeans was pretty much unusable with our Gradle projects. Laszlo Kishalmi schrieb am 21.06.2021 um 18:38: Please check the Experimental Gradle Settings and disable the Lazy Source Group Initialization. On 6/21/21 9:20 AM, Thomas Kellerer wrote: For me,

Re: Gradle support and depending projects

2021-06-22 Thread Christian Pervoelz
Great, thanks Laszlo. Your hint seemed to be the last piece in that puzzle. The issues are gone now. ---C. Am Mo., 21. Juni 2021 um 18:38 Uhr schrieb Laszlo Kishalmi < laszlo.kisha...@gmail.com>: > Please check the Experimental Gradle Settings and disable the Lazy > Source Group Initialization.

Re: Gradle support and depending projects

2021-06-21 Thread Laszlo Kishalmi
Please check the Experimental Gradle Settings and disable the Lazy Source Group Initialization. On 6/21/21 9:20 AM, Thomas Kellerer wrote: For me, switchting to a different project groups fixes this error (at least most of the time) Christian Pervoelz schrieb am 21.06.2021 um 15:34: Yes,

Re: Gradle support and depending projects

2021-06-21 Thread Thomas Kellerer
For me, switchting to a different project groups fixes this error (at least most of the time) Christian Pervoelz schrieb am 21.06.2021 um 15:34: Yes, usually that helps for me too, but here neither Clean, restarting the IDE or just reloading the projects helped. After playing around a bit

Re: Gradle support and depending projects

2021-06-21 Thread Christian Pervoelz
Yes, usually that helps for me too, but here neither Clean, restarting the IDE or just reloading the projects helped. After playing around a bit more, I had some findings: a) cleaning the cache in user dir brings some improvements So to say, almost all imports are resolved now (and due to that

Re: Gradle support and depending projects

2021-06-21 Thread Scott Palmer
This usually goes away for me if I reload the project after building to ensure the classes being imported have been compiled. It would certainly be better if that wasn’t required. Scott > On Jun 21, 2021, at 8:35 AM, Christian Pervoelz wrote: > >  > Hi, > > I have a gradle container

Gradle support and depending projects

2021-06-21 Thread Christian Pervoelz
Hi, I have a gradle container project consisting of two sub projects. Clean, Build, Run, Debug, etc.works properly as it should from NetBeans. But... every single import statement is marked as "package does not exist". This applies to - imports from external libraries - imports from the