Consistently link to licenses from both the website docs and the

distribution docs.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226089 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
crossley 2003-09-05 00:06:00 +00:00
parent a0f120a5d2
commit 332f7d30f6
3 changed files with 16 additions and 3 deletions

View File

@ -38,11 +38,13 @@ 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"/> <property name="site.dir" value="${dist.dir}/site"/>
<property name="build.docs.content.dir" value="${dist.dir}/tmp/context/content"/>
<!-- Public Targets --> <!-- Public Targets -->
<target name="all" <target name="all"
depends="site,jars,javadocs,dist" depends="docs,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>
@ -103,6 +105,16 @@ just creates a distribution out of all of them.
</ant> </ant>
</target> </target>
<target name="docs">
<!-- prepare some other docs -->
<copy todir="${build.docs.content.dir}/components">
<fileset dir="java/src/org/apache/xml/resolver" includes="LICENSE.resolver.txt"/>
</copy>
<!-- call forrest to generate the docs -->
<ant target="site"/>
</target>
<target name="javadocs"> <target name="javadocs">
<!-- copy the various javadocs into the website docs --> <!-- copy the various javadocs into the website docs -->
<copy todir="${site.dir}/components/apidocs"> <copy todir="${site.dir}/components/apidocs">

View File

@ -226,8 +226,9 @@ Both ways have system-specific pathnames, so both may bust on your system.
<!-- 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}">
<fileset dir=".." includes="KEYS,README.txt,LICENSE.txt"/> <fileset dir=".." includes="KEYS"/>
<fileset dir="." includes="resolver.xml"/> <fileset dir="." includes="resolver.xml"/>
<fileset dir="src/org/apache/xml/resolver" includes="LICENSE.resolver.txt"/>
</copy> </copy>
<copy todir="${build.dir}/${dist.basename}" file="${resolver.jar}"/> <copy todir="${build.dir}/${dist.basename}" file="${resolver.jar}"/>

View File

@ -172,7 +172,7 @@ API Documentation</ulink>.
<para>The most important change in this release is the availability of <para>The most important change in this release is the availability of
both source and binary forms under a <ulink both source and binary forms under a <ulink
url="copyright.html">generous license agreement</ulink>.</para> url="../LICENSE.resolver.txt">generous license agreement</ulink>.</para>
<para>Other than that, there have been a number of minor bug fixes and the introduction <para>Other than that, there have been a number of minor bug fixes and the introduction
of system properties in addition to the <filename>CatalogManager.properties</filename> of system properties in addition to the <filename>CatalogManager.properties</filename>