Adding Build File to Project
A build file should be added to a project to enable running the build, filtering targets, or defining properties. One project can have several build files. The build files are grouped in the Ant Build tool window by names, specified in the root element of each build file, for example
When a build file is generated, it is automatically added to the project. If you create a build file manually, or reuse an existing one, you might need to add it to the Ant Build Tool Window.
Adding a build file to a project
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.xmlfile, and click OK.
A build file should have at least a root element to be added to the Ant Build tool window.