Execute Ant target
With IntelliJ IDEA you can run the build targets, review results of compilation and build, and navigate to the point of origin of each error.
Build targets can be executed from:
The main menu that contains the list of all targets defined in the build files, added to a project.
Executing a build target from the Ant Build tool window
Executing a build target from the main menu
In both cases, results are displayed in the Messages tool window: