Ant build file properties
Use this dialog to configure the behavior of Ant build scripts.
Item | Description |
---|---|
Maximum Heap Size | Set 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) | Set the stack memory size. The default value is 2 MB. |
Make build in background | Select whether to run the build process in the background. If disabled, the IDE shows a modal progress dialog. |
Close message view if no error occurred | Select whether to close the Ant Messages window for the successful builds. |
Properties tab
Specify the runtime properties to pass to the build script. These properties are equivalent to those defined after the -D
option on the command line. Properties are name-value pairs. The value can be hardcoded or dynamically evaluated at runtime from a macro. For more information, refer to Built-in IDE macros.
Add | Create a new entry in the list of runtime properties. |
Remove | Delete the selected property from the list. |
Execution tab
Configure how IntelliJ IDEA will launch the build script.
Run with Ant | Configure the Ant version to run the selected build.xml. |
Use project default Ant | Select whether to run the default Ant version. |
Use custom Ant | Select whether to run a custom 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 the Ant configuration. |
Set Default | Configure the default Ant. |
Ant command line | Specify command0-line arguments. You can include any arguments except |
Run under JDK | Configure the JDK to use for running Ant targets. By default, you can select the project or module JDK. Use the ellipsis button to configure the JDK. |
Additional Classpath tab
Add libraries and directories that Ant loads at runtime.
Add | Add a directory of archive to the Classpath. |
Add All in Directory | Add a directory with all its contents to the Classpath. |
Move Up and Move Down | Change the order of the classpath entries. The order of entries in the dialog defines the order in which Ant loads the resources. |
Remove | Delete the selected entry from the list. |
Filters tab
Configure which build targets to show in the Ant 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 an optional description of the target. When you click in the Ant tool window, it will show only targets that you enable on the Filters tab.