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.

Bug 241604

Summary: grails.project.groupId should be used for default package if not stated
Product: groovy Reporter: tomoke <tomoke>
Component: GrailsAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description tomoke 2014-02-09 18:08:39 UTC
NetBeans will take the appName as the default package, if it is not explicitly stated, when creating a Controller (at least at the project level).

A Grails standard is the use of grails.project.groupId, in Config.groovy, which is defaulted to appName. However, if the developer changes this configuration item, it is not picked up by NetBeans.

It would fit better with the expectation of doing a command-line grails project controller, if NetBeans would also look for this property.