IntelliJ IDEA 2016.2 Help

Generate Ant Build

Build | Generate Ant Build


Use this dialog box to configure the Ant build generation procedure.

ItemDescription
Generate multiple-file ant build (requires ant 1.6 or later to execute)Click this option to generate separate build files for every module plus one main file. The generated build files for the modules are stored in the directories that correspond to the .iml files, and the main file is stored under the project root.
Generate single-file ant buildClick this option to generate one build file for the whole project. This file is stored under the project root.
Backup previously generated filesClick this option to create backup copies of the previously generated Ant build files.
Overwrite previously generated filesClick this option to overwrite the previously generated Ant build files with the new ones.
Output file nameUse this field to enter the name of the output file.
Enable UI forms compilation (requires javac2 ant task from IntelliJ IDEA distribution)Select this check box, if you have used IntelliJ IDEA UI forms and need them to be created during the build process.
Use JDK definitions from project files Select this check box to specify using particular Java SDK's for every module when building a project, as defined in the project settings.

Clear the check box to have the Ant script use the Java SDK it runs on.

Inline runtime classpathsThis check box affects Ant build generation for the dependent modules.
  • If this check box is cleared (by default), then the generated runtime classpath will contain references to the runtime libraries of the dependency module.
  • If this check box is selected, then the generated runtime classpath will contain copies of references to the libraries of the dependency module.
Use current IntelliJ IDEA instance for idea.home propertyIf this check box is selected, the idea.home property, referring to the current IntelliJ IDEA installation, is added to the file <project>.properties.

See Also

Concepts:

Last modified: 23 November 2016