At line 1 changed 1 line. |
This page contains a listing of the most common Ant tasks in [AppFuse] that I use in my daily development: |
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. |
At line 3 changed 11 lines. |
||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 <em>swear</em> it should be working, but your change doesn't show up| |
|reload|Reload application in Tomcat| |
|remove|Remove application in Tomcat| |
<style type="text/css"> |
table.wikitable {border: 1px solid black; margin: 10px; border-collapse: collapse} |
table.wikitable td {border: 1px solid black; padding: 3px} |
table.wikitable th {background: #eee} |
table.wikitable span {color: red} |
</style> |
||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 <em>swear</em> it should be working, but your change doesn't show up |
|__reload__|Reload application in Tomcat |
|remove|Remove application in Tomcat |
At line 15 changed 12 lines. |
|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| |
|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| |
|test-reports|Generate test reports| |
|test-service|Test service module| |
|test-web|Test web module| |
|undeploy|delete war file and directory from $CATALINA_HOME/webapps| |
|
For a complete list of tasks, type "ant -projecthelp" at the command line. |
|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 |