AppFuseAntTasks |
|
Your trail: |
This is version 8.
It is not the current version, and thus it cannot be edited.
[Back to current version]
[Restore this version]
This page contains a listing of the most common Ant tasks in AppFuse that I use in my daily development:
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 | Stops Tomcat, 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-cactus | Runs Cactus tests in Tomcat (starts/stops server, Tomcat should be stopped) |
test-canoo | Runs Canoo WebTests in Tomcat to test JSPs |
test-dao | Test dao module |
test-jsp | Runs Canoo WebTests in tomcat (starts/stops server, Tomcat should be stopped) |
test-reports | Generate test reports |
test-service | Test service module |
test-web | Test web module (Tomcat should be running) |
undeploy | delete war file and directory from $CATALINA_HOME/webapps |
For a complete list of tasks, type "ant -projecthelp" at the command line.
|