Ability to set manual sync points in Diff Files tool

Are you missing a feature? Request its implementation here.
heavydawson
Posts: 14
Joined: Wed Sep 20, 2006 7:07 pm

Ability to set manual sync points in Diff Files tool

Post by heavydawson »

I use the diff tool primarily for troubleshooting ant log files. Diff seems to have a hard time aligning the beginning and end of targets. This should be a trivial task. At the moment, the diff tool runs a diff on everything from start to finish.
It would be useful if the user could specify multiple points on each file where the files are in sync, and then run the diff tool to find out the differences between each of those points.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

The diff algorithms try to match the locations that correspond to a difference by a heuristic algorithm which sometimes does not match the locations which a human user thinks intuitively that should be matched. The heuristic cannot find always the same results that are normal for a human user. If you can give us a short example of the two files we can try to see if the algorithm can be improved. What is the algorithm that you selected in the Algorithm combo box of the Compare Files window?


Regards,
Sorin
Post Reply