This page last changed on Mar 23, 2006 by [email protected].
Command Line Reference
Usage: grails [options] (target name)
Target |
Description |
clean |
Cleans the current app 'tmp' directory, can be combined with other commands eg. grails clean run-app |
create-app |
Creates a new Grails application |
create-controller |
Convenience target for creating a controller |
create-domain-class |
Convenience target for creating domain classes |
create-data-source |
Convenience target for creating data sources |
create-test-suite |
Convenience target for creating test suites |
create-webtest |
Convenience target for creating functional web tests |
generate-controller |
Generates a controller for a specified domain class |
generate-views |
Generates CRUD views for a specified domain class |
generate-all |
Generates both a controller and the views for a specified domain class |
run-app |
Runs a grails app using the default Jetty container |
run-webtest |
Runs the functional web tests contained within the app |
test-app |
Runs the unit tests contained within the app |
war |
Creates a JEE Web Application Archive (WAR) file from the current grails app |
Options can be given in the format -Dname=value
name |
value |
server.port |
the port number to start the server on, default:8080 |
|