Indirect Ant Compilation is a special compiler type that uses an Ant script to compile your project or files. The Ant script is run when you choose the Compile command or press F9. When you compile a file or project whose compiler type is set to Indirect Ant Compilation, the IDE runs the specified targets in the Ant script and all of the files affected by those targets are compiled.
To view or change the properties of Indirect Ant Compilation, open the Options
window, expand Building Compiler
Types and select Indirect Ant Compilation. When you change the value of a property,
your change affects all classes that use Indirect Ant Compilation.
You can set the following properties for Ant Script Execution:
![]() |
When you set a project to use Indirect Ant Compilation,
there is no difference between the Compile and Compile All commands. Choosing
either of these commands on any Java file will run the Ant script and compile
the entire project. There is also no difference between the Build and Build
All commands.
The Build Project, Compile Project, and Clean Project commands do not work unless you set a specific Ant script to run for the project. |
See Also | |
---|---|
External Compiler Internal Compilation Jikes Compilation Ant Script Compilation Building With Ant |