My particular need was around diffing a fairly complex “tree” structure. These tree structures are actually imported from files that 3rd party releases from time to time and client import them directly into our product (it’s not always easy to see what’s changed between the versions they release – hence the need for a quick “visual diff” solution.
Here’s an example of the one of these control libraries (the Australian ISM) being diffed (notice the token changes I’ve hacked into the version on the right):
In my case, I wanted to diff the whole tree in html (since I can generated the tree itself from a nice re-usable Grails taglib). So in the end I took the approach:
Loving the new diff feature! If you’re in the market for a diff capability for your app, this one is definitely worth having a look at (and it’s Apache2 so you can happily use it in your commercial app).
Thanks to Neil Fraser for an awesome lib!