Hi all,

I have a Gradle 7.5 based multi-project build on Netbeans 16 with Java 17. One of my subprojects cannot be loaded, the IDE displays "Priming Build required", but when I click on "resolve", then nothing much happens (there is some messages "preparing priming build" for a short time).

The whole project including the one subproject builds flawlessly from the command line and from within the IDE. But I cannot open the problematic subproject, the IDE does not initialise it at all and, for example, does not recognize the imports, so all my code is red.

I have tried to start the IDE with Java 11 and I have tried to set Tools/Options/Java/Gradle to 7.5, but to avail.

The problematic subproject is actually visible in the IDE, but the build.gradle could not be parsed, which I can see from the name of the project, which is set to "foo" in the build.gradle like this:

description = 'foo'

This should display the project as "foo" in the IDE, if the build.gradle could be parsed. But it displays as the name of the filesystem folder it is located in, so it's pretty clear that the build.gradle could not be parsed and thus all my dependencies could not be loaded.

I've had this before a couple of times, but whenever I could "clean build" the project, the problem usually went away - sometimes an IDE restart was required.

Thanks in advance for any pointers,

Ulrich

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to