Chapter 7. Ant

The second build tool to examine is Apache Ant [50], maintained by the Apache Software Foundation. Ant is one of the most popular build tools for Java-based projects and has numerous features for compiling code in that environment. Few Java developers would consider using GNU Make for building Java code, even though it’s technically possible.

Ant was originally created as part of Apache Tomcat because existing build tools were too hard to use in multiplatform Java projects. Since being released as a standalone tool in 2000, Ant now runs on a diverse set of operating systems such as UNIX, Windows, OS/2 Warp, OpenVMS, and Mac OS X.

One of the challenges in writing build systems for multiple operating systems (OS) is that each platform ...

Get Software Build Systems: Principles and Experience 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.