IntelliJ IDEA 2017.3 Help

Defining Ant Filters

By default, the Ant Build Tool Window shows all targets of a build file. Filtering enables you to show or hide targets as desired. The default filter displays the primary targets only. You can change this behavior and configure your own filter with custom set of targets that should be visible when the filter is applied.

Configuring custom filter for build targets

  1. Open the Build File Properties dialog box.
  2. In the Filters tab, clear the checkboxes next to the build targets you want to hide, and select the checkboxes next to the targets you want to show.

    Now, when you apply filter by pressing the filter button commonfilter.png, only the targets selected in the Filters list will be displayed.

Last modified: 6 March 2018

See Also