User: rinkrank
  Date: 02/05/28 16:17:51

  Modified:    .        .cvsignore
  Added:       .        build-docs.xml
  Log:
  Merged MODULE_REFACTORING_BRANCH back to MAIN
  
  Revision  Changes    Path
  1.3       +2 -1      xdoclet/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/.cvsignore,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -w -r1.2 -r1.3
  --- .cvsignore        28 May 2002 21:12:33 -0000      1.2
  +++ .cvsignore        28 May 2002 23:17:51 -0000      1.3
  @@ -1,2 +1,3 @@
   build
   dist
  \ No newline at end of file
  +velocity.log
  \ No newline at end of file
  
  
  
  1.1                  xdoclet/build-docs.xml
  
  Index: build-docs.xml
  ===================================================================
  <project name="XDoclet Documentation" default="docs" basedir=".">
      <property name="xdoclet.root.dir" value="${basedir}"/>
      <property file="${xdoclet.root.dir}/build.properties"/>
  
      <!-- =================================================================== -->
      <!-- Define classpaths for XDoclet                                       -->
      <!-- =================================================================== -->
      <path id="xdoclet.class.path">
          <fileset dir="${lib.dir}">
              <include name="**/*.jar" />
          </fileset>
          <fileset dir="${dist.lib.dir}">
              <include name="**/*.jar" />
          </fileset>
      </path>
  
      <!-- =================================================================== -->
      <!-- Verify if Anakia is available                                       -->
      <!-- =================================================================== -->
      <target name="prepare">
          <available 
              file="${basedir}/../jakarta-site2/lib" 
              property="anakia.present"
           />
      </target>
      <target depends="prepare" name="prepare-error" unless="anakia.present">
          <fail>
              You must check out the jakarta-site2 module from CVS
          </fail>
      </target>
  
      <!-- =================================================================== -->
      <!-- Creates the project.xml file used by Anakia                         -->
      <!-- =================================================================== -->
      <target name="project-xml">
          <taskdef 
              name="xdoclet" 
              classname="xdoclet.DocletTask"
              classpathref="xdoclet.class.path"
          />
          <xdoclet destdir="${xdoclet.root.dir}/xdocs/resources">
  
              <fileset dir="${modules.all-src.dir}">
                  <include name="**/*Handler.java" />
                  <include name="**/*SubTask.java" />
              </fileset>
  
              <template
                  templateFile="${modules-toc.template.file}"
                  destinationFile="project.xml"
              />
          </xdoclet>
      </target>
  
  
      <target name="docs" depends="prepare,project-xml">
          <path id="anakia.class.path">
              <fileset dir="${basedir}/../jakarta-site2/lib">
                  <include name="*.jar"/>
              </fileset>
          </path>
          <taskdef 
              name="anakia" 
              classname="org.apache.velocity.anakia.AnakiaTask" 
              classpathref="anakia.class.path"
           />
          <anakia 
              basedir="${docs.src.dir}" 
              destdir="${docs.build.dir}/"
              extension=".html" 
              style="./site.vsl"
              projectFile="resources/project.xml"
              excludes="**/resources/** empty.xml"
              includes="**/*.xml"
              lastModifiedCheck="true"
              templatePath="../jakarta-site2/xdocs/stylesheets"
          >
          </anakia>
  
          <copy todir="${docs.build.dir}/images" filtering="no">
              <fileset dir="${docs.src.dir}/images">
                  <include name="**/*.gif"/>
                  <include name="**/*.jpeg"/>
                  <include name="**/*.jpg"/>
              </fileset>
          </copy>
      </target>
  </project>
  
  
  

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to