Appendix Developing Applications with Apache Ant

Topics in This Appendix

  • Writing an Ant build file
  • Understanding Ant targets and tasks
  • Setting up an Ant directory structure
  • Building a Web application for deployment
  • Creating a WAR file

Apache Ant is an open-source, cross-platform, development tool for building Java applications. Through Ant, you can completely control the build process of your Web application, from compiling source code to creating a WAR file.

In this appendix, we provide an introduction to Ant, where we focus on the build tasks that developers use for almost every Web application. Specifically, we first show you how to compile your application, then create a clean build of your application (create directory structure, copy ...

Get Core Servlets and JavaServer Pages, Volume 2: Advanced Technologies, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.