>> Hi folks,
>>
[quoted text clipped - 10 lines]
>> distance algorithm, as well as investigated ports of the GNU diff algo
>> to Java. These are both options, of course.
[snip]
> I've played with this before, but I didn't get to use it my own work
> because of its GPL:
>
> http://www.bmsi.com/java/#diff
>
> Send the output to the textual display component of your choice.
Thanks for the response. I had also encountered that version, which is,
IIRC, a port of the gnu diff sources.
Rogan
Rogan Dawes - 05 Dec 2005 11:48 GMT
> Hi folks,
>
[quoted text clipped - 10 lines]
> distance algorithm, as well as investigated ports of the GNU diff
> algo to Java. These are both options, of course.
Well, I gave up, and implemented one myself, based on the incava.org
Diff implementation.
You can take a look at it at:
(For the Diff sources)
<http://dawes.za.net/gitweb.cgi?p=dawes.za.net/webscarab.git;a=tree;h=148dc26a7ff
3ef6ff5ddc35b206d5f9f60a30489;hb=7fc5807cc8391a080d18d081edaf745ea1f3a963;f=src/
org/incava/util/diff>
and
(for the DiffPanel sources)
<http://dawes.za.net/gitweb.cgi?p=dawes.za.net/webscarab.git;a=tree;h=f6b756fbe78
c6f1be21a00cffbee5e904a0efcd9;hb=7fc5807cc8391a080d18d081edaf745ea1f3a963;f=src/
org/incava/util/diff/swing>
It needs some tweaking to improve configurability (e.g. the colours for
highlighting, etc), but it is reasonably usable as is.
Feedback appreciated.
Rogan