From 359dd2dc7a088a3a09782146374ce03242dd9ab0 Mon Sep 17 00:00:00 2001 From: "Jesse N. Glick" Date: Sun, 2 Jan 2005 18:34:39 +0000 Subject: [PATCH] Make it possible to use docs.xml even without a jakarta-site2 checkout. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277271 13f79535-47bb-0310-9956-ffa450edef68 --- ReleaseInstructions | 6 +++--- docs.xml | 43 +++++++++++++++++++++++++++++++++---------- 2 files changed, 36 insertions(+), 13 deletions(-) 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 @@ - + - + +