Running Your First XML Comparison

Running Your First XML Comparison

Compare enables you to compare any XML documents or data and either view the changes in a browser or process the changes to integrate change control into your own systems. Compare provides a toolkit for general purpose, extensible comparison and recombination for XML data.

Running Your First Comparison

The release includes a command-line processor (deltanova-year.x.y.z.jar) that performs comparison and recombination operations on local files without any programming.

Replace year.x.y.z in all the following commands with the version number of the DeltaNova distribution you are using.

Verifying the Installation

java -jar deltanova-year.x.y.z.jar

Further Information on a Specific Pipeline

java -jar deltanova-year.x.y.z.jar describe <pipline>

Running a Pipeline Comparator Comparison to Produce a Delta File

The following runs the delta pipeline which is one of the default pipelines that comes with DeltaNova providing a DeltaV2 output. The examples files are included in the distribution zip.

java -jar deltanova-year.x.y.z.jar compare delta samples/compare/xml/document/documentA.xml samples/compare/xml/document/documentB.xml result.xml

Run a Document Comparator Comparison to Produce a delta file

The following runs the doc-delta pipeline which is one of the default pipelines that comes with DeltaNova providing a DeltaV2 output, and is a pipeline optimised for Document comparison to get you started.

java -jar deltanova-year.x.y.z.jar compare doc-delta samples/compare/xml/document/documentA.xml samples/compare/xml/document/documentB.xml result.xml

Run a Data Comparator Comparison to Produce a Delta File

The data-delta pipeline is a pipeline optimised for data centric files and it is included in the distibution zip.

java -jar deltanova-year.x.y.z.jar compare data-delta samples/compare/xml/data/dataA.xml samples/compare/xml/data/dataB.xml result.xml

For details on the command-line interface see Using the Java Command Line Tool.