You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Enter a command name to run. Use TAB for completion:
grails> create-controller ThingController
| Created grails-app/controllers/@artifact.package.path@/ThingController.groovy
| Created src/test/groovy/@artifact.package.path@/ThingControllerSpec.groovy
While it's clear that YAML is the default, the Grails configuration docs describe it as "an alternative format," suggesting that everything should still work in application.groovy.
If that's not the case, the docs should be updated to strike that phrase and include a list of configuration settings that only work in application.yml.
The text was updated successfully, but these errors were encountered:
This is using Grails 3.1.7 on JDK8 on Windows 8.1. Initially reported on StackOverflow:
http://stackoverflow.com/questions/37911129/grails-defaultpackage-ignored
The configuration setting grails.codegen.defaultPackage does not take effect when in application.groovy as such:
The app name is not used as a default, either:
If you place this in application.yml, it works:
While it's clear that YAML is the default, the Grails configuration docs describe it as "an alternative format," suggesting that everything should still work in application.groovy.
If that's not the case, the docs should be updated to strike that phrase and include a list of configuration settings that only work in application.yml.
The text was updated successfully, but these errors were encountered: