AppFuseAntTasks |
|
| Your trail: |
This page contains a listing of the most common Ant targets in AppFuse that I use in my daily development. For a complete list of tasks, type "ant -projecthelp" at the command line.
| Task | Description |
| setup | Sets up database, tomcat and deploys expanded war |
| clean | Removes build artifacts |
| compile | Compiles everything |
| deploy | Compiles and deploys everything to Tomcat |
| deploy-web | Deploys JSPs and static web content to Tomcat |
| install | Install application in Tomcat using Tomcat's Manager app. Great for deploying to remote servers. |
| list | List Tomcat's installed applications |
| refresh | Undeploys, cleans, then re-deploys. Nice for when you swear it should be working, but your change doesn't show up |
| reload | Reload application in Tomcat |
| remove | Remove application in Tomcat |
| setup-db | creates database and populates it with sample data |
| setup-tomcat | copies jdbc driver and context.xml to Tomcat |
| test-all | runs all tests for dao, service and web |
| test-dao | Test dao module |
| test-service | Test service module |
| test-web | Runs Action/Controller tests using Mocks (no container required) |
| test-jsp | Runs Canoo WebTests in tomcat (starts/stops server, Tomcat should be stopped) |
| test-canoo | Runs Canoo WebTests in Tomcat when it's already running |
| test-reports | Generate test reports |
| undeploy | delete war file and directory from $CATALINA_HOME/webapps |
|