Setting up the Ant build script in remote build environments

You must configure the Ant build script to import the code coverage properties file into your project. The code coverage properties file was generated when you installed the Rational® Application Developer Code Coverage Extension.

Procedure

  1. Open your Ant build file.
  2. Add the following text to the Ant build file according to your operating system, where <Code-Coverage-RTC-extension-directory> is the path to the installation directory of the Code Coverage Extension:
    • For 64-bit systems, add the following text: <import file="<Code-Coverage-RTC-extension-directory>\CodeCoverageProperties.xml"/>
    • For 32 or 31-bit systems, add the following text: <import file="<Code-Coverage-RTC-extension-directory>\CodeCoverageProperties.xml"/>
    This code coverage properties file contains properties that are used by the Ant build script file.

What to do next

Generate baseline and probescript files

Feedback