Using ldcdiff#
Command-Line#
ldcdiff <ProjectFile1> <ProjectFile2> [-generateDetailedReport] [-report]:<FileFormat> [-subReports] [-reportFile]:<reportFile> [-deltaviolations] [-exportDeltaTags]:<Export Delta Tags Filename>
-deltaviolations
Output only delta rule violations, if any. (default file deltaviolations.txt)
-generatedetailedreport
Produce detailed report
-exportdeltatags:<Export Delta Tags Filename>
Export Delta Tags
-report:txt|excel97-2003|excel|excel2007|csv|sarif|xml|html|json|png|jpeg|none
Generate report for project.
-reportfile:<reportFile>
Report file name.
-subreports:missing,new,changed,newviolations,missingviolations
Select update reports
ldcdiff is used to generate a difference report on two projects, with the “deltaviolations” option used to report just the changes in violations.
Examples#
ldcdiff <ProjectFilename1.ldz> <ProjectFilename2.ldz> -report:txt -reportFile:<ReportFilename>
Generates a complete report on the differences between the two projects.
ldcdiff <ProjectFilename1.ldz> <ProjectFilename2.ldz> -deltaviolations:<DeltaviolationsFilename>
Generate a report just on the difference in violations between the two projects.
ldcdiff <ProjectFilename1.ldz> <ProjectFilename2.ldz> -exportDeltaTags:<DeltaTagsFile.tag>
Generate a tag file that tags the delta between the two projects. The tag file will contain the same tags that a Project Update will produce in Lattix Architect. The tags are “UpdateDelta” “DependencyDelta” and “ViolationDelta”
File Format#
FileFormat:
txt,excel97-2003,excel,excel2007,csv,sarif,xml,html,json,png,jpeg
Success or Failure#
Return success or failure to the calling script, where failure is the inability to complete its processing.