Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0.4
-
Component/s: None
-
Labels:None
Description
After creating several domain classes for a Grails application it is kind of tedious to have to run create-app once for each domain class. This shouldn't be too hard to automate and in fact Marcel Overdijk has already done it (http://marceloverdijk.blogspot.com/2008/05/uber-generate-all.html ). Please add his uber-generate-all script to the Grails project.
Individuals could add this themselves as described on Marcel's blog but this feature would be very helpful in giving demos at which time it is usually preferable to use the standard install.
I feel that for demo purposes it would be even better to not use generate-all (static scaffolding) but only generate the controllers with dynamic scaffolding. That way one can evolve the domain-model on stage and any changes are instantly reflected in the running app without any need for re-triggering the generation.