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.
[ BUILD # : 200808021401 ] [ JDK VERSION : 1.6.0_06 ] If you right-click on "Groovy Source Packages" and selects New > New Groovy Class, the wizard comes up with a "Location" selector only containing "Java Source Packages". If you click Finish, a groovy file will be created in src/java. The same also happens when you right-click on other folders, for example grails-app/jobs (location for quartz scheduler jobs) and selected New > Other > Groovy > New Groovy Class. It's impossible to create new Groovy Classes (other than Domain, Services, Controllers) in the right place with build 200808021401.
For Groovy Source Packages it is fixed in issue 142562. Other use-cases will be fixed soon. Anyway, according to bug priority guidelines, this is not a P1.
In my opinion the location options should allow me to choose all the directories of my project. I need a new Url Mapping class, it should be saved under the configuration directory, but I can't choose any other location except Groovy Source Packages or Java Source Packages.
Fixed. http://hg.netbeans.org/main/raw-rev/d5845fd2f1d3
Integrated into 'main-golden', available in build *200808141419* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/d5845fd2f1d3 User: Martin Adamek <martin_adamek@netbeans.org> Log: #142852: [65cat] Location selector in New Groovy Class Wizard is wrong
It is still not possible to create Groovy Classes in grails-app/jobs folder. The jobs folder is not even visible in project explorer anymore (build #200808201401) The quartz plugin creates a folder called grails-app/jobs. The folder contains plain old Groovy classes that are executed by the quartz scheduler. You must switch to the Files tab to see the jobs, but it's not possible to create new Groovy Classes there using the wizard because the location selector will not let you specify that location.
Can you please verify that you are not facing filesystem refresh problem from issue 144422 ? It should be pretty easy - restart IDE and try again.
Restart did not help. The grails-app/jobs folder was created 10 months ago when I started the project, so I don't think it's a refresh problem. It's just not reachable from the project explorer.
OK, now I see where's the problem, we are not displaying non-standard folders under grails-app. We do so only under project root. I'll add to project view also all non-standard folders from grails-app.
Should be fixed. http://hg.netbeans.org/main/rev/de462260c631
Integrated into 'main-golden', available in build *200808230201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/de462260c631 User: Martin Adamek <martin_adamek@netbeans.org> Log: #142852: [65cat] Location selector in New Groovy Class Wizard is wrong