Running Antenna House Formatter from Ant is simple using the example build file provided as part of PDF5-ML plugin for DITA. This file can be found on Github.
It is a comprehensive Ant build file that you can either copy and modify or import into the main build file for your own project.