- Open the Ant Build Tool Window. To do that, choose on the main menu, or click the Ant Build button in the right toolbar of the tool windows.
- In the Ant Build tool window, click .
- In the Select Path dialog, navigate to the desired build.xml
file, and click OK.
A build file should have at least a root element to be added to the Ant Build tool window.