Define 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.
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 , only the targets selected in the Filters list will be displayed.