Overview

Use the zipdiff tool when you need to compare the contents of two zip files. It is equally suited for comparing jar files, EAR files, WAR files or RAR files.

Run it standalone or as an Ant task. The tool supports three output formats: plain text, XML, and HTML.

zipdiff is written in Java

The current version is 0.4

Command line

    java -jar zipdiff.jar -file1 foo.zip -file2 bar.zip [ -outputfile diffs.html ] [ -comparetimestamps ] [ -comparecrcvalues ]
    

Using the Ant zipdiff task

<taskdef name="zipdiff" classname="zipdiff.ant.ZipDiffTask"/>

<zipdiff filename1="foo.zip" 
    filename2="foo2.zip"
    ignoreTimestamps="true"
    compareCRCValues="true"
    destfile="zipdiff.xml">
</zipdiff>
    

Powered By

SourceForge.net Logo