Script command

The Code Review component provides a sample script for running the code review application.

Use the following command syntax to start the sample script. Brackets indicate optional parameters.
codereviewbatch
     -workspace ws_location  
     -rulefile rule_file
     -exportdir exp_location
     [-directory dirs]
     [-projects projs]
     [-includefile in_file]
     [-excludefile ex_file] 
     [-outputfile out_file]
     [-debug]
-workspace ws_location
The file path of the Eclipse workspace that you want to use.
-rulefile rule_file
A .dat file that contains a set of rules that you exported from the software analysis configuration window.
-exportdir exp_location
The directory where output data files are written.
-directory dirs
A comma-separated list of directories that contain source files.
-projects projs
A comma-separated list of projects in the workspace that contain source files.
-includefile in_file
A text file that contains a list of source files to include in the code review.
-excludefile ex_file
A text file that contains a list of source files to exclude from the code review.
-outputfile out_file
The target file for output information.
-debug
Prints output information to the console.