When you run an entire Ant script, you can choose from options that enable to you to use the IDE's compilation and execution systems with Ant. These options are based on the IDE's standard device of compiler types and execution types.
For information on compiling Ant scripts and on compiling files using Ant, see:
Compiling Ant Scripts
Compiling Files With Ant
For information on setting targets and running Ant scripts, see:
Running Ant Scripts