diff --git a/docs/ant_in_anger.html b/docs/ant_in_anger.html index 640647f42..bd4363177 100644 --- a/docs/ant_in_anger.html +++ b/docs/ant_in_anger.html @@ -567,15 +567,38 @@ build.compiler to "jikes" for it to be used in your build files. #include targets to simplify multi build.xml projects
+ +There are two inclusion mechanisms, an ugly one for all parsers and a +clean one. For now, the ugly +method is the most portable:- +
+ <!DOCTYPE project [ + <!ENTITY IncludeBuildCore SYSTEM "buildCore.xml"> + <!ENTITY IncludeBuildSecondary SYSTEM "buildSecondary.xml"> + %IncludeBuildCore; + %IncludeBuildSecondary; + ]> + + <target name="includedBuild"> + &IncludeBuildCore; + &IncludeBuildSecondary; + </target> ++The clean method using XInclude/Xpath will let you include named +targets from one build file or another, using + +the xpointer syntax. You'll need to wait for the W3C proposals +to finalise and the java XML parsers to implement it before +using xpointer references.