+

Search Tips   |   Advanced Search

Use Ant to automate tasks

To support using Apache Ant with Java EE applications running on the application server, the product provides a copy of the Ant tool and a set of Ant tasks that extend the capabilities of Ant to include product-specific functions. Ant has become a very popular tool among Java programmers.

Apache Ant is a Java-based build tool. In theory, it is similar to Make, but Ant is different. Instead of a model in which it is extended with shell-based commands, Ant is extended using Java classes. Instead of writing shell commands, XML-based configuration files are used. These files reference a target tree in which various tasks are run. Each task is run by an object that implements a particular Task interface.

Avoid trouble:

gotcha

By combining the following tasks with those provided by Ant, we can create build scripts that compile, package, install, and test the application on the application server:

For more detailed information about Ant, refer to the Apache organization website.


Related tasks

  • Manage shared libraries

  • Batch compiler ant task


    Related information: