Ant Script Compilation

See Also 

Ant Script Compilation is a special compiler type that you can assign to Ant build scripts. To access this compiler type, choose Tools then choose Options from the main window. Then expand Buidling then expand Compiler Types and select Ant Script Compilation.

The default compiler setting for Ant build scripts is (do not compile), since scripts do not need to be compiled. Therefore, when the IDE runs accross an Ant script while compiling files, it normally ignores it.

If, however, you need to compile a project with both an Ant script and the IDE's native compilation, you can add the Ant script to your project and set its compiler setting to Ant Script Compilation. When you compile the project, the IDE runs the build script and compiles the rest of the files according to the project settings.

tip Ant Script Compilation is for use with Ant scripts only. You should never set source files to use Ant Script Compilation. If you want to set an Ant script as a source file's default compiler method, use Indirect Ant Compilation.

To view or change the properties of Ant Script Compilation, open the Options window, expand Building and expand Compiler Types and select Ant Script Compilation. When you change the value of a property, your change affects all classes that use Ant Script Compilation.

You can set the following properties for Ant Script Execution:

See Also
External Compiler
Internal Compilation
Jikes Compilation
Indirect Ant Compilation
Building With Ant

Legal Notices