2.7. Building and Running the Example Application
In each chapter, we'll be covering how to build, deploy (if necessary), and execute the example programs used in the chapter.
2.7.1. The Ant Build Utility
All of the examples in this book include Ant buildfiles that can be used to compile and, when necessary, package the example code. The advantage of Ant is that, because it is written in Java, it is completely portable, being runnable on any platform that provides a Java environment. Ant itself is free, part of the Apache Jakarta project. Ant 1.4.1 is included on the enclosed CD. You can also download Ant from http://jakarta.apache.org. Ant 2.0 is expected to introduce incompatible changes in buildfile syntax. So while later 1.x versions of Ant ...
Get J2EE™ and JAX™: Developing Web Applications and Web Services 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.