donaldp 01/02/26 06:11:55
Modified: . build.xml
Log:
Updated build file to manually copy resources for docs.
Revision Changes Path
1.15 +13 -5 jakarta-avalon/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon/build.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- build.xml 2001/02/26 04:41:42 1.14
+++ build.xml 2001/02/26 14:11:54 1.15
@@ -219,7 +219,7 @@
Prepares the documentation directory
===================================================================
-->
- <target name="docs">
+ <target name="xdocs">
<filter token="year" value="${year}"/>
@@ -232,12 +232,20 @@
</fileset>
</copy>
- <copy todir="${build.xdocs}" filtering="off">
+ <copy todir="${build.docs}" filtering="off">
<fileset dir="${xdocs.dir}">
<include name="**/images/**"/>
</fileset>
</copy>
+ <copy todir="${build.docs}" filtering="off">
+ <fileset dir="${avalon.skin}">
+ <include name="resources/**"/>
+ </fileset>
+ </copy>
+
+<!-- <replace file="${build.xdocs}/book.xml" token="@BASE_URL@"
value="."/> -->
+
<stylebook targetdirectory="${build.docs}"
book="${build.xdocs}/book.xml"
skindirectory="${avalon.skin}">
@@ -278,7 +286,7 @@
Create the Local site documentation
===================================================================
-->
- <target name="local-docs" depends="docs">
+ <target name="local-docs" depends="xdocs">
<delete>
<fileset dir="${docs.dir}">
@@ -352,7 +360,7 @@
Create the distribution
===================================================================
-->
- <target name="dist" depends="jars,javadocs,docs">
+ <target name="dist" depends="jars,javadocs,xdocs">
<mkdir dir="${dist.dir}"/>
<copy file="${build.lib}/avalonapi.jar"
tofile="${dist.dir}/avalonapi-${version}.jar"/>
@@ -383,7 +391,7 @@
Create the source distribution
===================================================================
-->
- <target name="src-dist" depends="docs,setup-properties">
+ <target name="src-dist" depends="xdocs,setup-properties">
<mkdir dir="${src.dist.dir}" />