During the project, you will be building and deploying many times, so makes good sense to create scripts that handle this whole process. A good tool for handling this scripting is Apache Ant (http://ant.apache.org).
When working with Ant, you create a buildfile (traditionally called
build.xml) to specify how to build a project. This XML file consists of a number of
targets that define the different goals you might want your build process to achieve, for example
deploy. Within each target are a number of steps called tasks. Ant comes with a large number of pre-built tasks, and many tools that integrate with Ant supply their own tasks. If you are not already familiar ...