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 - grails.project.groupId should be used for default package if not stated
Summary: grails.project.groupId should be used for default package if not stated
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-09 18:08 UTC by tomoke
Modified: 2014-02-09 18:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.