nicolaken 02/03/25 04:17:16
Modified: tools/centipede/targets compile.xtarget docs.xtarget
Log:
Updating docs build: now the docs are deleted and regenerated, and the package is
not made just for the docs (not needed).
Revision Changes Path
1.3 +0 -3 jakarta-poi/tools/centipede/targets/compile.xtarget
Index: compile.xtarget
===================================================================
RCS file: /home/cvs/jakarta-poi/tools/centipede/targets/compile.xtarget,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- compile.xtarget 14 Mar 2002 11:05:05 -0000 1.2
+++ compile.xtarget 25 Mar 2002 12:17:16 -0000 1.3
@@ -158,6 +158,3 @@
<delete dir="${build.dir}"/>
</target>
- <target name="cleandocs" depends="init" description="* Cleans the build docs
directories">
- <delete dir="${build.docs}"/>
- </target>
1.3 +5 -19 jakarta-poi/tools/centipede/targets/docs.xtarget
Index: docs.xtarget
===================================================================
RCS file: /home/cvs/jakarta-poi/tools/centipede/targets/docs.xtarget,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- docs.xtarget 19 Mar 2002 09:22:47 -0000 1.2
+++ docs.xtarget 25 Mar 2002 12:17:16 -0000 1.3
@@ -38,27 +38,13 @@
</target>
-
<!-- =================================================================== -->
- <!-- Set a variable if the generated docs are already up-to-date. -->
+ <!-- Clean generated docs dir. -->
<!-- =================================================================== -->
- <target name="docs_check" depends="init">
- <uptodate property="docs.notrequired" targetfile="${build.docs}/index.html" >
- <srcfiles dir="." includes="project-info.xml"/>
- <srcfiles dir="${context.dir}/xdocs" includes="**/*.xml"/>
- </uptodate>
+ <target name="cleandocs" depends="init" description="* Cleans the build docs
directories">
+ <delete dir="${build.docs}"/>
</target>
- <!-- =================================================================== -->
- <!-- If generated docs is already up-to-date, print a message saying so. -->
- <!-- =================================================================== -->
- <target name="docs_done" if="docs.notrequired">
- <echo message="-------------------------------------------------------------"/>
- <echo message="Not rebuilding docs, as they are up-to-date:"/>
- <echo message=" ${build.docs}/index.html is more recent than"/>
- <echo message=" project-info.xml and ${context.dir}/xdocs/*.xml"/>
- <echo message="-------------------------------------------------------------"/>
- </target>
<!-- =================================================================== -->
<!-- If generated docs is already up-to-date, print a message saying so. -->
@@ -72,7 +58,7 @@
<!-- The documentation system -->
<!-- =================================================================== -->
<target name="docs"
- depends="package, prepare-docs, docs_check, making-docs, docs_done"
+ depends="cleandocs, prepare-docs, making-docs"
unless="docs.notrequired"
description="* Generates the documentation">
@@ -96,7 +82,7 @@
</classpath>
</java>
- <echo message=" ...docs generated succesfully in ./build/docs ."/>
+ <echo message=" ...docs generated succesfully in ./build/${name}/docs ."/>
<echo message="-------------------------------------------------------------"/>
</target>