Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.3-RC1
-
Fix Version/s: None
-
Component/s: Scaffolding
-
Labels:None
Description
Running 'grails generate-all SomeDomainClass' leads to the following error:
No domain class found for name SomeDomainClass
This is due to SomeDomainClass residing in the default package (the app name), so the following works:
grails generate-all appName.SomeDomainClass
generate-all should look for the domain class in the default package by convention, so I can write 'grails generate-all SomeDomainClass' as an alias to 'grails generate-all appName.SomeDomainClass'
| 1. | Add package look-up by convention. | |
|
Unassigned |
Related to https://jira.codehaus.org/browse/GRAILS-5713