You can use the following targets: help : (default) Prints this message all : Cleans, compiles, and packages application clean : Deletes work directories compile : Compiles servlets into class files dist : Packages artifacts into a deployable WAR For example, to clean, compile, and package all at once, run: prompt> ant all