Generate change traffic metrics. Change Traffic metrics compare the source files currently in a workspace with the source files in a change unit:
Diff can create metrics to show differences between two source modules. These metrics are then gathered by ChangeTraffic.bj and loaded into EA via the Enterprise View core module apm-core.jar.
Once diff has been placed in the EA bin directory, ChangeTraffic.bj can be run as part of Batch Refresh Process to compare the files that are currently in a workspace against the files that are about to be loaded into EA.
The change unit comprises the new and modified source files, and optionally a change unit description file, named Configuration.txt. Use the change unit description file to:
DATE: 2010-03-15 17:12:13 DELETED:MYPROG.CBL DELETED:MYCOPY.CPY
The output of ChangeTraffic.bj is an XML file that can be imported into the repository in online mode using the Enterprise View Configuration interface, or in batch mode using the following command:
java -jar avmcore-Panther.jar "workspace" "outputfile"
where workspace is the name of the workspace and outputfile is the XML output file.
ChangeTraffic UDCFolder SourceFolder XMLOutputFile ProjectName UDCName
|Dedicated folder for the change unit.
|\Sources folder for the workspace.
|Name of tag for the application.
|Name of tag for the change unit. Use this argument to distinguish between change units. Enter an empty string if you do not want to specify a change unit tag.