You can use the quality control function provided in Rational® Developer for AIX® and Linux to analyze the design and source code of Rational Programming Patterns instances that are stored on an AIX workstation.
About this task
Complete the following steps to install the environment that is required to run a quality
control analysis on AIX.
Procedure
- In the Rational Programming Patterns installation directory,
under the root of the Rational Software Delivery Platform, open the
/rpp/qualitycontrol subdirectory.
- Copy the instRPPnnnQC.sh and RPPnnnQC.zip files,
where nnn represents the Rational Programming Patterns version (962 for example).
- Paste both files to a dedicated directory in an AIX workstation.
- Run the instRPPnnnQC.sh script to install the environment that is required
to run the Rational Programming Patterns quality control on AIX. When
it runs, the script prompts for two directories.
- Enter the path of the coderev directory in Rational Developer for AIX and Linux (/opt/IBM/RDAIXLinux/9.1/coderev for
example). This directory contains the files that are required to run a quality control analysis in
Rational Developer for AIX and Linux.
- Enter the path of the target directory (/data/test/QC for example). This
directory is automatically created by the script.
The script starts the installation. The following elements are created upon completion:
- The coderev directory is created in the target directory
(/data/test/QC/coderev in the example). It contains, in its
bin subdirectory, the codereviewbatch.sh script file,
which is used to run a quality control analysis from a Rational Developer for AIX and Linux command line. For explanations on how to use the script, see Running the sample script.
- The Rational Programming Patterns plug-ins that are required to
run the quality control on AIX are created in the plugins subdirectory of the
created coderev directory (/data/test/QC/coderev/plugins
in the example).
Results
You can now run the quality control that is provided in Rational Developer for AIX and Linux on Rational Programming Patterns files
stored in AIX.