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 running Ant scripts and on compiling files using Ant, see:
Compiling Files With Ant
Running Ant Scripts