JA04 - Building Java Applications using Apache Ant - 1 Day

View Dates and Locations

Course Description

Ant is a popular Java library and command-line tool from the Apache Software Foundation. Ant is widely used in the Java community and is the de-facto standard tool for building, testing, and executing Java applications.

This course introduces Ant concepts and constructs, and shows how to perform common build tasks via Ant scripts.


Some programming experience in Java


What you will learn:

  • Understanding the role of Ant
  • Using Ant with popular IDEs
  • Building Java applications using Ant
  • Using Ant control structures and features


For on-site courses (i.e. at your premises), we are more than happy to tailor the course agenda to suit your exact requirements. In many cases, we are able to build your in-house standards and naming conventions into the delivered course.

On-site course enquiry (from £165 pp per day)

Course Details

View Dates and Locations

Introduction to Ant
Build automation principles
Overview of Ant
Installing and configuring Ant
Using Ant with IDEs (e.g. Eclipse)

Key Ant principles

Defining common Ant tasks
Compile tasks
Archive tasks
Execution tasks
File tasks
Properties tasks

Ant techniques
Using properties and variables
Flow control
Accessing command line arguments

Going further with Ant
Using Ant in testing
Using Ant in Java Enterprise applications
Using Ant in version control systems


Course Enquiry