title: Need a Java and Javascript diff tool written in Java
body: <p>We need an accurate diff utility for Java and Javascript files, written in Java. It should be invokable from within an Eclipse (version 3.2 or 3.3) application. Preferably we need the Java source code for this utility also.</p>
  
  <p>The utility should be able to compare two files (old and new, say) and determine the following accurately:</p>
  
  <ul>
  <li>Number of LOC added to the new file</li>
  <li>Number of LOC deleted from the old file</li>
  <li>Number of LOC changed in the old file</li>
  <li>Number of change deltas, i.e., contiguous blocks of code added/changed/deleted.</li>
  </ul>