Share this page

# Ant

Use the Ant bundled plugin to run Apache Ant builds.

In this topic:

## Prerequisites

Before you can use the Ant plugin in a chain, install Ant on an agent and add it as a capability. For details, see Add capabilities to agents.

Back to top

## Configure Ant plugin

When you add the Ant plugin step to a chain, specify the plugin configuration details.

To configure the Ant step:

1. Add the Ant step to a chain, as described in Create chains.

2. Enter the plugin configuration details:

   Field | Description
   --- | ---
   Title | The name for the step in the chain. Default name: Ant.
   Path to ant | (Optional) The location of the Ant executable. To use the location defined in your path, leave this field empty.
   Targets | (Optional) A list of Ant targets, separated by spaces. To use the default target, leave this field empty.
   Path to build file from the root directory | (Optional) The path to the Ant build script relative to the checkout directory.
   Working directory | (Optional) The working directory if different from the location of the Ant build script.

   Advanced Options: (Optional)

   Field | Description
   --- | ---
   Additional Ant command-line parameters | A list of Ant command-line parameters, separated by spaces, for example: `-debug -DmyValue=1`
   Location of Java JDK to use | Location of the Java JDK. To use the system JAVA_HOME, leave the field empty.
   Java options | Java options, separated by spaces, for example: `-Xms200m -Xmx700m`

Back to top

See also:

- Use plugins
- Set chain options
- View chain runs

https://admhelp.microfocus.com PulseUno 8942
Tips to improve your search results... PulseUno Help Center PulseUno Help 24.2 - 25.2 All View Local Help Center View Online Help Center Version: