RKCP Information Technology
                                                                                                          Ant
Home » Courses   » Ant

Ant

Ant training course teaches developers the skills and knowledge needed to use Ant as an automated build tool.

Overview

Ant training course teaches developers the skills and knowledge needed to use Ant as an automated build tool.

Ant training course begins with an overview of automated build concepts and motivations. It then moves into a discussion about Ant as a build tool in terms of its architecture implementation and operation.

With the foundation laid the course then examines how to setup an Ant build.xml file externalize build configuration information through properties files and define and execute tasks. Working with Ant course concludes with a discussion of common Ant tasks like continuous integration tasks packaging tasks etc.


Objective

At the end of Ant training course, the participants will be able to:

  • Describe the differences between Ant and other build tools like Maven and Make
  • Create a basic build.xml file from scratch
  • Work with embedded properties and external properties using properties files
  • Integrate ANT with there IDE
  • Modify the build file to execute common tasks, like unit tests, jar, etc.
  • Modify the build file the integrate the build process with a version control system like SVN
  • Describe the capabilities of extending Ant through custom tasks

Duration - 3 Days

Build Engineers and Developers working on projects that use Ant as an automated build tool


Prerequisites

null


Syllabus

Expand All
  • 1. Introduction to Ant
    • What is Ant
    • How did we get here
    • Ant v. Make v. Maven v. Ivy
  • 2. Installing Ant
    • System requirements
    • Getting the software
    • *installing the software*
    • Dealing with library dependencies
    • Gotchas on different platforms
  • 3. Building hello world with Ant
    • A simple hello world Java application
    • A quick and dirty build file
    • Command line options
    • Environment variables and system properties
  • 4. Ant concepts and terminologies
    • Projects
    • Targets
    • Properties
    • Working with Built in properties
    • Adding polish to 'quick and dirty' build file
  • 5. Working with Ant
    • Filters
    • Pathing
    • References
    • Logging
  • 6. Ant Tasks
    • Archive Tasks
    • File Tasks
    • Compile Tasks
    • Execution Tasks
    • Properties Tasks
  • 7. Integrating ANT into your IDE
  • 8. Automating your build and testing through Ant tasks
    • Testing Tasks
    • Ant and continuous integration servers
    • Archiving Tasks
    • Deployment tasks
    • Integrating Ant with a version control system
  • 9. Creating Custom Ant tasks