Navigation:  Actions > Test Driven Development >

Ant Action

Previous pageReturn to chapter overviewNext page

This action executes Ant builds.  The action provides ways to configure the various options for Ant.  Before using this action:

1.Download and extract the Ant binaries.
2.Add the Ant bin directory to your PATH environment variable.
3.Create an ANT_HOME environment variable pointing to the Ant installation path.

 

Input Tab

 

Output Tab

 

Options Tab

 

Notes:

The ant.bat file installed with Ant does not return the exit code of the build result, but rather the exit code of later commands in the batch file.  A modified version of ant.bat is available in the Tools directory in the VisBuildPro install path.  Copy this file to your Ant bin path for proper success/failure detection of Ant builds.
This action has been tested with Ant versions 1.6 and 1.7 and may work with other versions as well.
See the TDD.bld sample for a project utilizing this action.