patton73 opened a new issue, #5892: URL: https://github.com/apache/netbeans/issues/5892
### Apache NetBeans version Apache NetBeans 17 ### What happened If you have a gradle project where the "main" source directory is not present but there is only the "test" source directory then you cannot launch a test using Run focused test method and Debug focused test method because Netbeans simply disables them. If you create the "main/java" directories with a simple readme file inside then Netbeans enables again these two options. This is a bug to me. You can have a project with no main sources but test sources. The example is to have a battery of end-to-end tests that simply calls rest API. Thanks ### How to reproduce Just remove src/main directory. ### Did this work correctly in an earlier version? No / Don't know ### Operating System Linux Kubuntu 22.04 ### JDK openjdk 17 ### Apache NetBeans packaging Apache NetBeans provided installer, Apache NetBeans binary zip ### Anything else Already posted on Jira https://issues.apache.org/jira/browse/NETBEANS-3720 ### 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
