You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2002/02/23 17:34:02 UTC
cvs commit: jakarta-turbine-maven/src/templates/build build-docs.xml
jvanzyl 02/02/23 08:34:02
Modified: src/templates/build build-docs.xml
Log:
- generated docs buildfile now deals with generating docs from the project
descriptor and the independent set of xdocs.
Revision Changes Path
1.7 +34 -2 jakarta-turbine-maven/src/templates/build/build-docs.xml
Index: build-docs.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build-docs.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- build-docs.xml 23 Feb 2002 16:25:30 -0000 1.6
+++ build-docs.xml 23 Feb 2002 16:34:02 -0000 1.7
@@ -8,7 +8,7 @@
<target
name="docs"
- depends="init,docs:index, docs:mail-lists, docs:developer-list,docs:dependencies"
+ depends="init,docs:site,docs:index, docs:mail-lists, docs:developer-list,docs:dependencies"
description="o Generate html project documentation xdoc sources">
</target>
@@ -38,7 +38,11 @@
/>
</target>
- <target
+ <!-- ================================================================== -->
+ <!-- P R O J E C T D O C U M E N T A T I O N -->
+ <!-- ================================================================== -->
+
+ <target
name="docs:mail-lists"
description="o Generate html project documentation xdoc sources">
@@ -105,6 +109,34 @@
in="project.xml"
out="${docs.dest}/dependencies.html"
/>
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- D V S L D O C U M E N T A T I O N -->
+ <!-- ================================================================== -->
+
+ <target
+ name="docs:site"
+ depends="init"
+ description="o Generate html project documentation xdoc sources">
+
+ <taskdef name="dvsl" classname="org.apache.tools.dvsl.DVSLTask">
+ <classpath>
+ <path refid="classpath"/>
+ </classpath>
+ </taskdef>
+
+ <!-- Make sure the target directory -->
+ <mkdir dir="${docs.dest}"/>
+
+ <dvsl
+ basedir="${docs.src}"
+ destdir="${docs.dest}/"
+ extension=".html"
+ style="${docs.src}/stylesheets/site.dvsl"
+ excludes="**/project.xml,**/template.xml"
+ includes="**/*.xml"
+ />
</target>
<!-- ================================================================== -->
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>