IntelliJ IDEA 2017.2 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 check boxes next to the build targets you want to hide, and select the check boxes 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: 29 November 2017

See Also