This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The only way I can add a Java code to a Grails project in Netbeans is by copying the Java code to src/java. This works but definitely not the best efficient and elegant way to do it. It would be nice to have a similar option, as in a Java NB project, where the user can "Add Project" from the "Properties" panel.