IntelliJ IDEA 2016.3 Help

Executing Ant Target

With IntelliJ IDEA you can run the build targets, review results of compilation and build, and navigate to the point of origin of each error.

Build targets can be executed from:

Executing a build target from the Ant Build tool window

  1. In the Ant Build Tool Window, select the desired target.
  2. Do one of the following:
    • On the context menu of the selected target, choose Run target (or Run build, if you execute the entire build file).
    • Click the img button on the toolbar of the Ant Build Tool Window.
    • Double-click the selected target.

Executing a build target from the main menu

  1. On the main menu, click Build.
  2. Click the submenu that corresponds to the desired build file.
  3. Select the desired build target.
    /help/img/idea/2016.3/antBuildRun.png

In both cases, results are displayed in the Messages tool window:

/help/img/idea/2016.3/antBuildRunResult.png

See Also

Last modified: 21 March 2017