Copyright
Brief Table of Contents
Table of Contents
Praise for the First Edition
Preface to the Second Edition
Foreword to the First Edition
Preface to the First Edition
Acknowledgments
About this Book
About the Authors
About the Cover Illustration
Chapter 0. Introduction to the Second Edition
Welcome to Ant in Action
The Application: A Diary
1. Learning Ant
Chapter 1. Introducing Ant
1.1. What is Ant?
1.1.1. The core concepts of Ant
1.1.2. Ant in action: an example project
1.2. What makes Ant so special?
Ant is free and Open Source
Ant makes it easy to bring developers into a project
It is well-known and widely supported
It integrates testing into the build processes
It enables continuous integration
It runs inside Integrated Development Environments
1.3. When to use Ant
1.4. When not to use Ant
1.5. Alternatives to Ant
1.5.1. IDEs
1.5.2. Make
1.5.3. Maven
1.6. The ongoing evolution of Ant
1.7. Summary
Chapter 2. A first Ant build
2.1. Defining our first project
2.2. Step zero: creating the project directory
2.3. Step one: verifying the tools are in place
2.4. Step two: writing your first Ant build file
2.4.1. Examining the build file
2.5. Step three: running your first build
2.5.1. If the build fails
2.5.2. Looking at the build in more detail
2.6. Step four: imposing structure
2.6.1. Laying out the source directories
2.6.2. Laying out the build directories
2.6.3. Laying out the distribution directories