pressing-buttons opened a new issue, #8180: URL: https://github.com/apache/netbeans/issues/8180
### Apache NetBeans version Apache NetBeans 24 ### What happened In a regular Java project, an additional node "Other Sources" is shown for anything below `src/main/resources`. If a gradle sub-project only consists of such a "resource" directory, this is not visible in the projects window in NetBeans. The use case for such a sub-project is e.g. to have a common place for resource files across multiple sub-projects in a bigger (main) project. I am working within a team where all others are using IntelliJ and it works there, so changing the project structure to fix this, isn't an option. ### Language / Project Type / NetBeans Component Java project using Gradle ### How to reproduce Unzip the attached archive (gradle-resource-only.zip) into an empty directry, then open the project. NetBeans will show two sub-projeccts: "application" and "commons". The commons sub-project has another sub-project called "sample-data". If that is opened in NetBeans, only "Configurations" and "Build Scripts" will be shown below the project's node. I expected another node "Other Sources" where the resource files can directly be accessed from within the project window (same as with the "application" sub-project). [gradle-resource-only.zip](https://github.com/user-attachments/files/18509172/gradle-resource-only.zip) ### Did this work correctly in an earlier version? No / Don't know ### Operating System Windows, Linux ### JDK JDK 17, JDK 21 (from Adoptium) ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else _No response_ ### Are you willing to submit a pull request? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
