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/20 01:55:14 UTC
cvs commit: jakarta-turbine-maven build.xml
jvanzyl 02/02/19 16:55:14
Modified: . build.xml
Log:
- adding dvsl doc system
Revision Changes Path
1.2 +28 -71 jakarta-turbine-maven/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 19 Feb 2002 18:09:58 -0000 1.1
+++ build.xml 20 Feb 2002 00:55:14 -0000 1.2
@@ -156,6 +156,34 @@
</target>
<!-- ================================================================== -->
+ <!-- D V S L D O C U M E N T A T I O N -->
+ <!-- ================================================================== -->
+
+ <target
+ name="docs"
+ 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>
+
+ <!-- ================================================================== -->
<!-- J A V A D O C S -->
<!-- ================================================================== -->
@@ -191,77 +219,6 @@
description="==> cleans up the build directory">
<delete dir="${build.dir}"/>
- </target>
-
- <!-- ================================================================== -->
- <!-- A N A K I A D O C U M E N T A T I O N -->
- <!-- ================================================================== -->
-
- <target
- name="check_for_jdom">
-
- <available
- property="jdom.present"
- classname="org.jdom.JDOMException">
- <classpath>
- <fileset dir="${jakarta.site2}/lib">
- <include name="*.jar"/>
- </fileset>
- </classpath>
- </available>
- </target>
-
- <target depends="check_for_jdom" name="docs-prepare-error"
- unless="jdom.present">
- <echo>
- The Jakarta-Site2 module is not present! Please check
- to make sure that you have checked it out from CVS.
-
- <http://jakarta.apache.org/site/jakarta-site2.html>
- </echo>
- </target>
-
- <target
- name="docs"
- depends="docs-prepare-error"
- description="==> generates the HTML documentation"
- if="jdom.present">
-
- <taskdef name="anakia"
- classname="org.apache.velocity.anakia.AnakiaTask">
- <classpath>
- <fileset dir="${jakarta.site2}/lib">
- <include name="*.jar"/>
- </fileset>
- </classpath>
- </taskdef>
-
- <anakia
- basedir="${docs.src}"
- destdir="${docs.dest}/"
- extension=".html" style="./site.vsl"
- projectFile="stylesheets/project.xml"
- excludes="**/stylesheets/** empty.xml"
- includes="**/*.xml"
- lastModifiedCheck="true"
- templatePath="${jakarta.site2}/xdocs/stylesheets">
- </anakia>
-
- <copy todir="${docs.dest}/images" filtering="no">
- <fileset dir="${docs.src}/images">
- <include name="**/*.gif"/>
- <include name="**/*.jpeg"/>
- <include name="**/*.jpg"/>
- </fileset>
- </copy>
-
- <!-- In case we have CSS someday
- <copy todir="${docs.dest}" filtering="no">
- <fileset dir="${docs.src}">
- <include name="**/*.css"/>
- </fileset>
- </copy>
- -->
</target>
<!-- ================================================================== -->
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>