TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Ipr (deprecated)

Last modified: 20 April 2023

This runner provides ability to build IntelliJ IDEA projects in TeamCity. It is superseded by IntelliJ IDEA Project runner.

This page contains reference information about the IPR build runner fields:

Ipr Runner Deprecation



Since TeamCity 6.0 Ipr runner is deprecated in favor of IntelliJ IDEA project runner which uses another implementation approach. In one of the following major TeamCity releases all build configurations with Ipr runner will be automatically converted to IntelliJ IDEA project runner. Since the runners may function differently in specific configurations it is highly recommended to change your current Ipr runner-based configurations to the new runner and check your settings before the final Ipr runner disabling. Please also use the IntelliJ IDEA project runner for all newly created projects and let us know if you have any issues with it.

Apart from differences in the scope of supported IntelliJ IDEA project features, the runners are also different in approach to tests running and coverage. Namely:

  • EMMA coverage is not supported by IntelliJ IDEA project runner. We recommend migrating to IntelliJ IDEA coverage engine if you used EMMA

  • in IntelliJ IDEA project runner JUnit tests are launched via IntelliJ IDEA shared run configurations as opposed to Ant's <junit> task in Ipr runner.

Here are the recommended steps to perform the migration from Ipr to IntelliJ IDEA project runner:

  1. If your existing Ipr runner has iprJUnitTestSettings configured, backup all the settings of the section, for example, into a text file.

  2. If you have coverage configured, save these settings also. (See also related issue)

  3. Change the runner type to IntelliJ IDEA Project. All your settings will be migrated except for JUnit and code coverage options.

  4. To restore JUnit tests you will need to create a shared run configuration in IntelliJ IDEA and commit the corresponding file into the version control. The name of the run configuration can then be specified in the Run configurations to execute area.

  5. For coverage, configure code coverage options anew using your saved settings.

IntelliJ IDEA Project Settings



Additional Pre/Post Processing (Ant)



JUnit Test Runner Settings



Code Coverage



To learn about configuring code coverage options, please refer to the Configuring Java Code Coverage page.