Ant Script Compilation is a special compiler type that you can assign to Ant
build scripts. To access this compiler type, choose Tools
Options from the main window. Then expand Buidling
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.
![]() |
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 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 |