Copyright "Apache Software Foundation" rather than just "Apache".

Copyright date 2003.
Rename "javadocs" to "apidocs".
Copy the docs that forrest built, into the distribution.


git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
crossley 2003-09-03 02:23:13 +00:00
parent 85cd1405fb
commit b5294ccd64

View File

@ -27,7 +27,8 @@ 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}/javadocs"/> <property name="docs.java.dir" value="${docs.user.dir}/apidocs"/>
<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}"/>
<!-- Source constants and directories --> <!-- Source constants and directories -->
@ -51,9 +52,9 @@ Build file for org.apache.xml.resolver. No dependencies.
<property name="build.optimize" value="off"/> <property name="build.optimize" value="off"/>
<!-- Document constants --> <!-- Document constants -->
<property name="company.name" value="Apache"/> <property name="company.name" value="Apache Software Foundation"/>
<property name="copyright.date" value="2001-2002"/> <property name="copyright.date" value="2001-2003"/>
<property name="copyright.message" <property name="copyright.message"
value="Copyright &#169; ${copyright.date} ${company.name}. All Rights Reserved."/> value="Copyright &#169; ${copyright.date} ${company.name}. All Rights Reserved."/>
@ -63,7 +64,7 @@ Build file for org.apache.xml.resolver. No dependencies.
description="Alias for all, check."/> description="Alias for all, check."/>
<target name="all" <target name="all"
depends="jar,docs,javadocs" depends="jar,docs"
description="This is the default target. Compiles the program and docs."> description="This is the default target. Compiles the program and docs.">
</target> </target>
@ -188,6 +189,13 @@ Build file for org.apache.xml.resolver. No dependencies.
<arg value="-XSL"/> <arg value="-XSL"/>
<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 todir="${build.dir}/docs">
<fileset dir="${docs.site.dir}/components/resolver"
includes="resolver-*.html"/>
</copy>
</target> </target>
<target name="dist" <target name="dist"
@ -204,12 +212,12 @@ 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.java.dir}"/> <fileset dir="${docs.user.dir}"/>
</copy> </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}">
<fileset dir=".." includes="KEYS,README.html,README.txt,LICENSE.txt"/> <fileset dir=".." includes="KEYS,README.txt,LICENSE.txt"/>
<fileset dir="." includes="resolver.xml"/> <fileset dir="." includes="resolver.xml"/>
</copy> </copy>
<copy todir="${build.dir}/${dist.basename}" file="${resolver.jar}"/> <copy todir="${build.dir}/${dist.basename}" file="${resolver.jar}"/>