IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.
To have an ant target executed before or after building an artifact
  1. Open the Pre-Processing or Post-Processing tab respectively.
  2. Select the Run Ant Target check box.
  3. Click the Browse button browseButton.png. In the Choose Ant Target dialog box that opens, select the Ant target to run.

See Also

Concepts:

Reference:

Web Resources: