IntelliJ IDEA 2017.2 Help

Ant Build Tool Window

View | Tool Windows | Ant Build

The tool window is marked with the icon /help/img/idea/2017.2/icon_ant.png

Use this tool window to add Ant build scripts to your project, control behavior of the build, and run build targets.

Prerequisites

Before you start working with Ant Build tool window, make sure that the Ant support plugin is enabled. The plugin is bundled with IntelliJ IDEA and is activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.

Ant Build

ItemDescription
/help/img/idea/2017.2/new.pngClick this button to add an Ant build file to the current project.
/help/img/idea/2017.2/delete.pngClick this button to remove the reference to the selected build file from the current project.
/help/img/idea/2017.2/run.pngClick this button to run the selected build target.
/help/img/idea/2017.2/commonfilter.pngWhen this button is pressed, only the primary targets are visible.
/help/img/idea/2017.2/expandAll.png /help/img/idea/2017.2/collapse_all.pngUse these buttons to expand or collapse all the nodes.
/help/img/idea/2017.2/properties.gifClick this button to show the properties of the selected Ant build file.
/help/img/idea/2017.2/icon_help.pngClick this button to show the corresponding reference topic.

Ant build results

Results of running Ant targets or the entire builds are shown in the Messages tool window.

Last modified: 30 August 2017

See Also

Getting Started:

Language and Framework-Specific Guidelines: