| Utilities |
|
JavaDiff JavaDiff is a simple command-line utility for comparing two files, or for recursively comparing the contents of two directories. There are many programs available that perform this task. Most of them are based on the algorithm presented in the following paper.
The need to develop JavaDiff arose during the initial implementation of the Test Manager application. Although there are many implementations of the standard difference algorithm, we required one that a) worked on both files and directories, b) provided some flexibility in the output that it generated, c) operated in a batch rather than an interactive manner, d) returned status codes to indicate the outcome of the algorithm, e) could be controlled from a Java program in a platform-independent manner, and f) did not impose a strict licensing scheme on the user. No implementation was found that met all of these criteria and so JavaDiff was developed. If this utility may be useful to you in your Java development, click here to download it, and for the instructions on how to use it.
|