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.
In the Grails project view there is always the same icon with no respect if the folder has a package view layout (sources, scripts, ..) or a tree view layout (resources, libraries, ..). In Java project there are different node icons for different view (for example for package view there is always the small 'package' within the icon), libraries node has some weird small icon as well etc.
Fixed in: web-main #9c37f9464577