User: rinkrank
  Date: 02/05/13 17:23:49

  Modified:    modules  Tag: MODULE_REFACTORING_BRANCH modules-common.xml
  Log:
  Added (incomplete) xsl-doc generation
  Improved error message in DocletTask
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.5   +44 -22    xdoclet/modules/Attic/modules-common.xml
  
  Index: modules-common.xml
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/modules/Attic/modules-common.xml,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -w -r1.1.2.4 -r1.1.2.5
  --- modules-common.xml        13 May 2002 20:36:43 -0000      1.1.2.4
  +++ modules-common.xml        14 May 2002 00:23:49 -0000      1.1.2.5
  @@ -43,9 +43,8 @@
      <!-- =================================================================== -->
      <target name="init">
         <echo>******** Building XDoclet module '${ant.project.name}' ********</echo>
  -   <!-- =================================================================== -->
  +
      <!-- Define classpath required for compiling modules                     -->
  -   <!-- =================================================================== -->
      <path id="module.class.path">
         <pathelement location="${commons-logging.jar}"/>
         <pathelement location="${log4j.jar}"/>
  @@ -56,15 +55,12 @@
         </fileset>
      </path>
   
  -   <!-- =================================================================== -->
      <!-- Define the xdoclet task                                             -->
  -   <!-- =================================================================== -->
      <taskdef
         name="xdoclet"
         classname="xdoclet.DocletTask"
         classpathref="module.class.path"
      />
  -
      </target>
   
      <!-- =================================================================== -->
  @@ -86,7 +82,7 @@
      <!-- =================================================================== -->
      <!-- Creates the module jar                                              -->
      <!-- =================================================================== -->
  -   <target name="jar" depends="init,xdoclet-xml,compile">
  +   <target name="jar" depends="init,docs,xdoclet-xml,compile">
         <jar jarfile="${module.jar.file}">
            <fileset dir="${module.classes.dir}">
               <include name="**/*.class"/>
  @@ -114,6 +110,32 @@
            </fileset>
         </pretty>
   
  +   </target>
  +
  +   <!-- =================================================================== -->
  +   <!-- Generate tag docs                                                   -->
  +   <!-- =================================================================== -->
  +   <target name="docs" description="Generate tag docs">
  +      <xmlcatalog id="xtags">
  +         <dtd publicId="-//XDoclet Team//DTD XDoclet Tags 1.1//EN"
  +              location="file:/${basedir}/../../docs/dtds/xtags.dtd"/>
  +      </xmlcatalog>
  +
  +      <mkdir dir="${docs.build.dir}/${ant.project.name}"/>
  +
  +      <style
  +         basedir="./src/META-INF"
  +         destdir="${docs.build.dir}/${ant.project.name}"
  +         extension=".html"
  +         includes="xtags.xml"
  +         style="${basedir}/../../docs/modules/xtags2html.xsl"
  +      >
  +         <param name="date" expression="07-01-2000"/>
  +         <xmlcatalog refid="xtags"/>
  +      </style>
  +
  +      <copy file="${java.src.dir}/stylesheet.css" todir="${build.docs.dir}"/>
  +      <copy file="${java.src.dir}/tablesort.js" todir="${build.docs.dir}"/>
      </target>
   
      <!-- =================================================================== -->
  
  
  

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to