Indirect Ant Compilation
See Also
Indirect Ant Compilation is a special compiler type that you can apply to a
project or to arbitrary files so that an Ant script is run whenever 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:
- Build Target(s). The targets that the IDE runs when you build the
package or project from scratch.
- Clean Target(s). The targets that the IDE runs when you clean the
package or project.
- Compile Target(s). The targets that the IDE runs when you compile
the file. If this property is empty the IDE runs the script's default target.
- Identifying Name. The display name of this compiler type.
- Script. The script which is run when the file is compiled. By default
the Ant script which the IDE runs is located using Ant's normal -find
search algorithm, going up directories from the source file until a build.xml
file is found. If you want to select a specific script to use for an indirect
compiler, type it in the Script property. You can type in a full file path
to a build script, or click the ellipsis button to browse to a build script
located in the IDE's mounted filesystems. This script is run by all files
that use Indirect Ant Compilation.
Legal Notices