You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ge...@apache.org on 2002/02/20 05:03:18 UTC

cvs commit: jakarta-turbine-maven build-docs.xml

geirm       02/02/19 20:03:18

  Added:       .        build-docs.xml
  Log:
  Separate build file for the project-maven.xml -> separate page xformation
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-maven/build-docs.xml
  
  Index: build-docs.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="Maven" default="docs" basedir=".">
  
    <!-- Allow any user specific values to override the defaults -->
    <property file="${user.home}/build.properties" />
    <!-- Allow user defaults for this project -->
    <property file="build.properties" />
    <!-- Set default values for the build -->
    <property file="default.properties" />
  
    <!-- Construct compile classpath -->
    <path id="classpath">
      <pathelement location="${dom4j.jar}"/>
      <pathelement location="${velocity.jar}"/>
      <pathelement location="${dvsl.jar}" />
    </path>
  
    <target
      name="docs"
      depends="docs:front-page, docs:mail-lists, docs:developer-list,docs:dependencies"
      description="o Generate html project documentation xdoc sources">
    </target>
  
    <target
      name="docs:front-page"
      description="o Generates front page">
  
      <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="."
             destdir="${docs.dest}/"
             extension=".html"
             style="${docs.src}/stylesheets/front-page.dvsl"
             in="project-maven.xml"
             out="${docs.dest}/front-page.html"
        />
    </target>
  
     <target
      name="docs:mail-lists"
      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="."
             destdir="${docs.dest}/"
             extension=".html"
             style="${docs.src}/stylesheets/mail-lists.dvsl"
             in="project-maven.xml"
             out="${docs.dest}/mail-lists.html"
        />
    </target>
  
      <target
      name="docs:developer-list"
      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="."
             destdir="${docs.dest}/"
             extension=".html"
             style="${docs.src}/stylesheets/developer-list.dvsl"
             in="project-maven.xml"
             out="${docs.dest}/developer-list.html"
        />
    </target>
  
      <target
      name="docs:dependencies"
      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="."
             destdir="${docs.dest}/"
             extension=".html"
             style="${docs.src}/stylesheets/dependencies.dvsl"
             in="project-maven.xml"
             out="${docs.dest}/dependencies.html"
        />
    </target>
  
  </project>
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>