> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# runAntBuildXML

> Runs Ant Script. The plugin provides the ability for the user to define additional inputs that will be available to the scripts when executing. In add

Runs Ant Script.\
The plugin provides the ability for the user to define additional inputs that will be available to the scripts when executing.\
In addition, the plugin provides the ability for the user to define any number of outputs from the execution of the script that could be utilized in subsequent steps in the workflow.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Ant Java Home</td><td>`FDANT_JAVA_HOME`</td><td> No</td><td> The JAVA\_HOME directory to be used by the target for builds.</td></tr><tr><td>Ant Home</td><td>`FDANT_ANT_HOME`</td><td>No</td><td>An ANT\_HOME to use instead of the version of Ant packaged in the plugin.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Build XML</td><td>`FDANT_BUILD_XML`</td><td>Yes</td><td>Ant script to execute.</td></tr><tr><td>Run Target</td><td>`FDANT_RUN_TARGET`</td><td>No</td><td>Target operation in the Ant script to execute. If this is left blank, the script's default target will be used. </td></tr></tbody></table>

# Artifacts

This operation delegates the consumes/produces artifacts decisions to the workflow developer. Check Consumes Artifacts on the workflow step editor if this operation requires artifacts to be delivered prior to execution of the script. Check Produces Artifacts on the workflow step editor if this operation creates artifacts. The artifacts folder is available via the FD\_ARTIFACTS\_DIR variable.

# Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the target. Selecting a specific resource will result in selection of endpoints associated to the target which have that resource defined.

# Endpoint Execution

This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to "All" to will result in execution on all selected endpoints.
