Raible's Wiki

Raible Designs
Wiki Home
Recent Changes


  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in

Edit this page

Referenced by

JSPWiki v2.2.33


Hide Menu


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.

setupSets up database, tomcat and deploys expanded war
cleanRemoves build artifacts
compileCompiles everything
deployCompiles and deploys everything to Tomcat
deploy-webDeploys JSPs and static web content to Tomcat
installInstall application in Tomcat using Tomcat's Manager app. Great for deploying to remote servers.
listList Tomcat's installed applications
refreshUndeploys, cleans, then re-deploys. Nice for when you swear it should be working, but your change doesn't show up
reloadReload application in Tomcat
removeRemove application in Tomcat
setup-dbcreates database and populates it with sample data
setup-tomcatcopies jdbc driver and context.xml to Tomcat
test-allruns all tests for dao, service and web
test-daoTest dao module
test-serviceTest service module
test-webRuns Action/Controller tests using Mocks (no container required)
test-jspRuns Canoo WebTests in tomcat (starts/stops server, Tomcat should be stopped)
test-canooRuns Canoo WebTests in Tomcat when it's already running
test-reportsGenerate test reports
undeploydelete war file and directory from $CATALINA_HOME/webapps

Go to top   Edit this page   More info...   Attach file...
This page last changed on 06-Nov-2006 13:52:58 MST by MattRaible.