Developing a build.xml File for Building Struts Applications Using Ant

This section is based on the strutsANT.zip file that’s included on the CD-ROM accompanying this book. Other sections of this chapter use different archives.

A good Ant build file enables you to build as much or as little of the application as you want. It also lets you pick up where you left off without repeating steps. And—if you want to—it should let you delete everything (hopefully except your source files!) and start over from scratch.

In reality, Ant build files can be created to do virtually anything you can write a program for. People all over the world have added tasks to Ant to do anything that’s commonly needed. If all else fails, Ant is completely extendable by ...

Get Struts Kick Start now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.