Last updated by admin 4 years ago
??????? ??????
Usage: grails [options] (target name)
|| Target || Description ||
| clean | ????????????????????? 'tmp' ????????????? ????????????? ?? grails clean run-app |
| create-app | ??Grail??????????? |
| create-controller |
?????????? |
| create-domain-class | ?????????? |
| create-data-source | ????????? |
| create-test-suite |
?????????? |
| create-webtest |
Web???????? |
| generate-controller | ?????????????
??????? ??? |
| generate-views | ?????????????CRUD
?????? |
| generate-all | ?????????????
????????
?????? |
| run-app | Jetty ?????????????????????? |
| run-webtest | Runs the
functional web tests contained within the app |
| test-app | Runs the
unit tests contained within the app |
| war | ????Grails?????????? war ??????? |
?????? -Dname=value ????????
|| name || value ||
| server.port | ???????? ???:8080 |
See also:
Command Line Tools