Apache Ant/Core Concepts/Terminology

From Wikibooks, open books for an open world
Jump to: navigation, search

Ant Terminology[edit]

  • Ant Task – something that ant can execute such as a compile, copy or replace. Most tasks have very convenient default values. See the Ant manual for a complete list of tasks.
  • Ant Target – a fixed series of ant tasks in a specified order that can depend on other named targets. Targets can depend only on other targets, not on projects or tasks. A target represents a particular item to be created, it can be a single item like a jar, or a group of items, like classes.
  • Ant Project – a collection of named targets that can run in any order depending on the time stamps of the files in the file system. Each build file contains one project.

Next Chapter