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/release05@41 8138a162-5c33-11de-8abc-d1c337b90d21
diff --git a/build.xml b/build.xml
index d63fb98..d9f7abe 100644
--- a/build.xml
+++ b/build.xml
@@ -77,6 +77,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">