So maybe we should change the api-xml and api-report tasks to read/write the current version of the jdiff xml from somewhere in build/jdiff, then add a new target that copies this to lib/jdiff. Then http://wiki.apache.org/hadoop/HowToRelease should be updated to reference this new target.
While we're at it, we might rename these targets, perhaps as follows:
- api-xml -> jdiff-xml (generates xml in build/)
- api-report -> jdiff-report (uses xml in build/ & lib/ to generate html in build/)
- jdiff-save (new task, copies xml in build/ to lib/, calls 'svn add' too?)
Does this make sense?