IntelliJ IDEA 2019.2 Help

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 tool window by names, specified in the root element of each build file, for example <project name="acme">.

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.

  1. In the Projects tool window, right-click the generated build file and select Add as Ant Build File to open it in the Ant tool window.

  2. In the Ant Build tool window, click icons general add svg.

  3. 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.

Last modified: 19 August 2019

See Also