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
- Open the Build File Properties dialog box.
- 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 , only the targets selected in the Filters list will be displayed.