JDiff summaries for past 3 releases. Soon will script the generation of an html
report based off these.



git-svn-id: https://guava-libraries.googlecode.com/svn/tags/release04@41 8138a162-5c33-11de-8abc-d1c337b90d21
diff --git a/build.xml b/build.xml
index e8df4e5..57eaded 100644
--- a/build.xml
+++ b/build.xml
@@ -76,6 +76,26 @@
     </javadoc>
   </target>
 
+  <target name="jdiff" description="Generate JDiff report">
+    <mkdir dir="build/javadoc/jdiff"/>
+    <javadoc doclet="jdiff.JDiff"
+         docletpath="../../trunk/lib/jdiff.jar"
+         additionalparam="-apiname guava -apidir build/javadoc/jdiff"
+         packagenames="com.google.common.*"
+         destdir="build/javadoc/jdiff">
+      <sourcepath>
+        <pathelement location="src"/>
+      </sourcepath>
+      <classpath>
+        <pathelement location="lib/jsr305.jar"/>
+      </classpath>
+    </javadoc>
+
+    <!-- remove dumb comments inserted by jdiff so that we only see svn diffs when things actually change. -->
+    <replaceregexp match="^.!--\s+(on|Command line arguments) .* -->$\n" 
+        replace="" flags="gm" file="build/javadoc/jdiff/guava.xml"/>
+  </target>
+
   <target name="zipsrc" description="Build zip of source.">
     <mkdir dir="build/dist/guava-r${release}"/>
     <jar jarfile="build/dist/guava-r${release}/guava-src-r${release}.zip">