diff --git a/ReleaseInstructions b/ReleaseInstructions index 2e2b682c2..1f905ed6c 100644 --- a/ReleaseInstructions +++ b/ReleaseInstructions @@ -65,9 +65,9 @@ Note: This document was updated in the context of releasing Ant 1.6. * xdocs/srcdownload.xml * xdocs/bindownload.xml - Generate the html files by invoking ant on docs.xml - you need - jakarta-site2 checked out for this. Commit the modified/generated - files + Generate the html files by invoking ant on docs.xml + (use -projecthelp for instructions). + Commit the modified/generated files 6. Ensure you have all the external libraries that Ant uses in your lib/optional directory. To find out what libraries you need, execute diff --git a/docs.xml b/docs.xml index 12f09028e..c818198a1 100644 --- a/docs.xml +++ b/docs.xml @@ -1,22 +1,44 @@ + + Build documentation - XDocs and Javadoc. + For building XDocs, edit xdocs/**/*.xml first. + If ../jakarta-site2 does not exist, set -Dsite.dir=... for it, + or just use -Dvelocity.dir=.../velocity-4.x if you have downloaded Velocity somewhere. + + XXX for no apparent reason, your CWD must be the main Ant source dir, or this will fail: + .../docs.xml:64: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource './site.vsl' + + - - - - - - + + + + + + + + + + + + + + + + + + - + @@ -30,7 +52,7 @@ - + @@ -46,11 +68,12 @@ - + - + +