adamoutler commented on issue #4406: URL: https://github.com/apache/netbeans/issues/4406#issuecomment-1197079102
I understand this issue was reported for Gradle. However, I am seeing this same problem in Maven with two of my JavaFX Projects, in Netbeans 14. It seems tests and src are being treated by NetBeans as two separate packages and NetBeans is not auto-generating (test+main) folders together. My temporary maven-specific hack is 2-pronged. 1. Use `<build><testResources><testResource><directory>src/main/resources...` to add the required resources to the test 2. use `org.codehaus.mojo/build-helper-maven-plugin` set the goal `add-test-source`, set the config>sources>source `src/main/java`. Maybe something similar can be done to gradle. You just need to merge the test+src directories in the generated sources somehow so NetBeans can see it properly. -- 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
