Copy the javadocs for the components so that the website docs and the
distribution docs can consistently link to them. git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226083 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8521006a45
commit
5addd1f72d
16
build.xml
16
build.xml
@ -38,10 +38,11 @@ just creates a distribution out of all of them.
|
|||||||
<!-- Overall distribution unit -->
|
<!-- Overall distribution unit -->
|
||||||
<property name="dist.basename" value="xml-commons-${version}"/>
|
<property name="dist.basename" value="xml-commons-${version}"/>
|
||||||
<property name="dist.dir" value="${tmp.dir}/build"/>
|
<property name="dist.dir" value="${tmp.dir}/build"/>
|
||||||
|
<property name="site.dir" value="${dist.dir}/site"/>
|
||||||
|
|
||||||
<!-- Public Targets -->
|
<!-- Public Targets -->
|
||||||
<target name="all"
|
<target name="all"
|
||||||
depends="docs,jars,dist"
|
depends="site,jars,javadocs,dist"
|
||||||
description="Default all target; calls every sub-build file directly.">
|
description="Default all target; calls every sub-build file directly.">
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
@ -71,9 +72,6 @@ just creates a distribution out of all of them.
|
|||||||
<fileset dir="java/"/>
|
<fileset dir="java/"/>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<!-- Copy the documentation that has already been built by Forrest -->
|
|
||||||
<!-- No need, because forrest builds directly into ${dist.dir}/site/ -->
|
|
||||||
|
|
||||||
<!-- Copy pertinent top-level files -->
|
<!-- Copy pertinent top-level files -->
|
||||||
<copy todir="${dist.dir}/${dist.basename}">
|
<copy todir="${dist.dir}/${dist.basename}">
|
||||||
<fileset dir="." includes="KEYS,README.html,build.xml"/>
|
<fileset dir="." includes="KEYS,README.html,build.xml"/>
|
||||||
@ -105,13 +103,11 @@ just creates a distribution out of all of them.
|
|||||||
</ant>
|
</ant>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="docs">
|
<target name="javadocs">
|
||||||
<!-- call forrest to prepare the docs -->
|
|
||||||
<ant target="site" />
|
|
||||||
|
|
||||||
<!-- copy the various javadocs into the website docs -->
|
<!-- copy the various javadocs into the website docs -->
|
||||||
<!-- FIXME: not yet done -->
|
<copy todir="${site.dir}/components/apidocs">
|
||||||
|
<fileset dir="java/build/apidocs"/>
|
||||||
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- import the Forrest build targets -->
|
<!-- import the Forrest build targets -->
|
||||||
|
|||||||
@ -27,7 +27,7 @@ Build file for org.apache.xml.resolver. No dependencies.
|
|||||||
<property name="build.etc.dir" value="${build.classes.dir}/org/apache/xml/resolver/etc"/>
|
<property name="build.etc.dir" value="${build.classes.dir}/org/apache/xml/resolver/etc"/>
|
||||||
<property name="docs.dir" value="${build.dir}"/>
|
<property name="docs.dir" value="${build.dir}"/>
|
||||||
<property name="docs.user.dir" value="${docs.dir}/docs"/>
|
<property name="docs.user.dir" value="${docs.dir}/docs"/>
|
||||||
<property name="docs.java.dir" value="${docs.user.dir}/apidocs"/>
|
<property name="docs.java.dir" value="${docs.dir}/apidocs/resolver"/>
|
||||||
<property name="docs.site.dir" value="../build/site"/>
|
<property name="docs.site.dir" value="../build/site"/>
|
||||||
<property name="dist.basename" value="${name.resolver}-${impl.version}"/>
|
<property name="dist.basename" value="${name.resolver}-${impl.version}"/>
|
||||||
|
|
||||||
@ -151,6 +151,9 @@ Build file for org.apache.xml.resolver. No dependencies.
|
|||||||
|
|
||||||
<target name="htmldocs" depends="jar">
|
<target name="htmldocs" depends="jar">
|
||||||
<echo message="Building docs for ${name.resolver} ..." />
|
<echo message="Building docs for ${name.resolver} ..." />
|
||||||
|
<!-- Note: The docs are built in two ways until we stabilise the doc generation.
|
||||||
|
Both ways have system-specific pathnames, so both may bust on your system.
|
||||||
|
-->
|
||||||
<java fork="true" classname="org.apache.xalan.xslt.Process">
|
<java fork="true" classname="org.apache.xalan.xslt.Process">
|
||||||
<classpath>
|
<classpath>
|
||||||
<pathelement location="/usr/local/java/jakarta-ant-1.5.1/lib/xml-apis.jar"/>
|
<pathelement location="/usr/local/java/jakarta-ant-1.5.1/lib/xml-apis.jar"/>
|
||||||
@ -190,11 +193,12 @@ Build file for org.apache.xml.resolver. No dependencies.
|
|||||||
<arg value="/sourceforge/docbook/xsl/html/docbook.xsl"/>
|
<arg value="/sourceforge/docbook/xsl/html/docbook.xsl"/>
|
||||||
</java>
|
</java>
|
||||||
|
|
||||||
<!-- Copy the docs that forrest built -->
|
<!-- Copy the docs that Forrest built.
|
||||||
|
The top-level build has already executed the forrest site target. -->
|
||||||
<copy todir="${build.dir}/docs">
|
<copy todir="${build.dir}/docs">
|
||||||
<fileset dir="${docs.site.dir}/components/resolver"
|
<fileset dir="${docs.site.dir}/components/resolver"
|
||||||
includes="resolver-*.html"/>
|
includes="resolver-*.html"/>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
@ -213,7 +217,10 @@ Build file for org.apache.xml.resolver. No dependencies.
|
|||||||
<!-- Copy docs/javadocs -->
|
<!-- Copy docs/javadocs -->
|
||||||
<copy todir="${build.dir}/${dist.basename}/docs">
|
<copy todir="${build.dir}/${dist.basename}/docs">
|
||||||
<fileset dir="${docs.user.dir}"/>
|
<fileset dir="${docs.user.dir}"/>
|
||||||
</copy>
|
</copy>
|
||||||
|
<copy todir="${build.dir}/${dist.basename}/apidocs/resolver">
|
||||||
|
<fileset dir="${docs.java.dir}"/>
|
||||||
|
</copy>
|
||||||
|
|
||||||
<!-- Copy pertinent top-level files and the .jar -->
|
<!-- Copy pertinent top-level files and the .jar -->
|
||||||
<copy todir="${build.dir}/${dist.basename}">
|
<copy todir="${build.dir}/${dist.basename}">
|
||||||
|
|||||||
@ -27,7 +27,7 @@ Build file for org.apache.env.Which service. No dependencies.
|
|||||||
<property name="build.classes.dir" value="${build.dir}/classes"/>
|
<property name="build.classes.dir" value="${build.dir}/classes"/>
|
||||||
<property name="docs.dir" value="${build.dir}"/>
|
<property name="docs.dir" value="${build.dir}"/>
|
||||||
<property name="docs.user.dir" value="${docs.dir}/docs"/>
|
<property name="docs.user.dir" value="${docs.dir}/docs"/>
|
||||||
<property name="docs.java.dir" value="${docs.user.dir}/javadocs"/>
|
<property name="docs.java.dir" value="${docs.dir}/apidocs/which"/>
|
||||||
<property name="docs.printer.dir" value="${docs.user.dir}/printer"/>
|
<property name="docs.printer.dir" value="${docs.user.dir}/printer"/>
|
||||||
|
|
||||||
<!-- Source constants and directories -->
|
<!-- Source constants and directories -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user