We have a large multi-project Gradle setup that looks like this (output of 
"gradlew projects"):

Root project 'the-project'
+--- Project ':sub-project1'
+--- Project ':node-js-project'
|    \--- Project ':node-js-project:frontend'
+--- Project ':commons'
|    +--- Project ':commons:project1'
|    +--- Project ':commons:project2'
|    +--- Project ':commons:project3'
|    +--- Project ':commons:project4'
|    +--- Project ':commons:project5'
|    +--- Project ':commons:project6'
|    +--- Project ':commons:project7'
|    +--- Project ':commons:project8'
|    +--- Project ':commons:project9'
|    +--- Project ':commons:project10'
|    +--- Project ':commons:project11'
|    +--- Project ':commons:project12'
|    +--- Project ':commons:project13'
|    +--- Project ':commons:project14'
|    +--- Project ':commons:project15'
|    \--- Project ':commons:resources-only'
+--- Project ':sub-project2'
+--- Project ':sub-project3'
+--- Project ':sub-project4'
|    +--- Project ':sub-project4:project1'
|    +--- Project ':sub-project4:project2'
|    +--- Project ':sub-project4:project3'
|    +--- Project ':sub-project4:project4'
|    +--- Project ':sub-project4:project5'
|    +--- Project ':sub-project4:project6'
|    +--- Project ':sub-project4:project7'
|    \--- Project ':sub-project4:project8'
+--- Project ':sub-project5'
|    +--- Project ':sub-project5:project1'
|    +--- Project ':sub-project5:project2'
|    +--- Project ':sub-project5:project3'
|    +--- Project ':sub-project5:project4'
|    \--- Project ':sub-project5:project5'
+--- Project ':sub-project6'
\--- Project ':sub-project7'
     +--- Project ':sub-project7:project1'
     \--- Project ':sub-project7:project2'

:commons:resources-only is a project with only a "src/main/resources" directory 
that contains files needed by multiple other (sub) projects.

However if that "resource project" is opened, NetBeans (19rc4) will not show 
the "resources" directory.

I was able to reduce this to a very small example which I have attached.

Our project(s) build fine and the sub-projects that include the "resource only" 
project all have the resources included. So I guess, from a Gradle point of 
view, this seems to be correct.

Is this a NetBeans bug/missing feature?

NetBeans is running on Windows 10 using Java 17 and the project is using Java 
17 as well.

Regards
Thomas

 




<<attachment: gradle-sample.zip>>

---------------------------------------------------------------------
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