IntelliJ IDEA 2018.2 Help

Generate Ant Build

Build | Generate Ant Build


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

Item

Description

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 build

Click this option to generate one build file for the whole project. This file is stored under the project root.

Backup previously generated files

Click this option to create backup copies of the previously generated Ant build files.

Overwrite previously generated files

Click this option to overwrite the previously generated Ant build files with the new ones.

Output file name

Use this field to enter the name of the output file.

Enable UI forms compilation (requires javac2 ant task from IntelliJ IDEA distribution)

Select this checkbox, 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 checkbox to specify using particular Java SDK's for every module when building a project, as defined in the project settings.

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

Inline runtime classpaths

This checkbox affects Ant build generation for the dependent modules.
  • If this checkbox is cleared (by default), then the generated runtime classpath will contain references to the runtime libraries of the dependency module.

  • If this checkbox 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 property

If this checkbox is selected, the idea.home property, referring to the current IntelliJ IDEA installation, is added to the file <project>.properties.

Last modified: 20 November 2018

See Also

Concepts: