IntelliJ IDEA 2021.1 Help

Build file properties

Ant Build tool window |   Properties
Ant Build tool window | Context menu of a build file | Properties

Use this dialog to configure the behavior of Ant build scripts.

ItemDescription
Maximum Heap SizeUse this field to change the amount of memory allocated to the Ant build process. Increase this value if the Ant process runs out of memory.
Maximum Stack Size (MB)Use this field to change the stack memory size. The default value is 2 MB.
Make build in backgroundIf this option is enabled, build process runs in background. Otherwise, the modal progress dialog is displayed.
Close message view if no error occurredIf this option is enabled, Ant Messages window does not open for the successful builds.
Properties tabUse this tab to specify the runtime properties that should be passed to the build script. These properties are equivalent to the ones defined after the -D option of the command line. A property is defined as a pair "name-value". The value can be hardcoded, or dynamically evaluated at runtime from a macro.
AddUse this button to create a new entry in the list of runtime properties.
RemoveUse this button to delete the selected property from the list.
Execution tabUse this tab to configure how IntelliJ IDEA will launch the build script.
Run with AntIn this option group you can determine the Ant version to run the selected build.xml.
Use project default AntClick this radio button to run the default Ant version.
Use custom AntClick this radio button to run Ant version of your choice. From the combo box, you can select any Ant version that has been configured and registered with IntelliJ IDEA. Use the ellipsis button to modify Ant configuration.
Set DefaultClick this button to configure the default Ant.
Ant command lineUse this field to supply command line arguments. You can include any arguments, except -logger. The arguments should be preceded with dashes and separated with spaces.
Run under JDKUse this field to define JDK to use for running Ant target. By default, you can select the project or module JDK. Use the ellipsis button to configure JDK.
Additional Classpath tabUse this tab to add libraries and directories that Ant loads at runtime.
AddClick this button to add a directory of archive to the Classpath.
Add All In DirectoryClick this button to add a directory with all its contents to the Classpath.
Move Up/DownUse these buttons to change the order of classpath entries. The order of entries in the dialog defines the order in which Ant loads the resources.
RemoveClick this button to delete selected entry from the list.
Filters tabUse this tab to configure which build targets show in the Ant Build tool window, when filtering is applied. The tab displays a list of build targets of the selected build file. The left column displays the names of the build targets, the right column contains optional description of the target. If a target is checked, it will show up in the Ant Build tool window after pressing Icons general filter; otherwise such target will be hidden.
Last modified: 08 March 2021