nicolaken    02/04/06 01:33:53

  Modified:    .        index.html build.xml
               tools/antipede build.xtarget
  Log:
  Added jdepend cent.
  There are problems with classpath, so I've but the jar in the antipede lib dir :-(
  
  Revision  Changes    Path
  1.4       +1 -0      jakarta-poi/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/index.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- index.html        3 Apr 2002 22:31:43 -0000       1.3
  +++ index.html        6 Apr 2002 09:33:53 -0000       1.4
  @@ -418,6 +418,7 @@
   menu.subMenus[2].addItem("local","window.open('./build/docs/index.html')");
   menu.subMenus[2].addItem("local 
javadocs","window.open('./build/docs/javadocs/index.html')");
   menu.subMenus[2].addItem("test 
results","window.open('./build/docs/test/index.html')");
  +menu.subMenus[2].addItem("code 
metrics","window.open('./build/docs/metrics/jdepend-report.html')");
   
   menu.subMenus[3].addItem("module.xml","window.open('module.xml')");
   menu.subMenus[3].addItem("layout.xml","window.open('layout.xml')");
  
  
  
  1.8       +68 -2     jakarta-poi/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml 4 Apr 2002 14:43:45 -0000       1.7
  +++ build.xml 6 Apr 2002 09:33:53 -0000       1.8
  @@ -271,6 +271,21 @@
       </antcall>
      
     </target>     
  +
  +  <!-- ================================== -->
  +  <!--      Generate project metrics      -->
  +  <!-- ================================== -->
  +  
  +  <target  name="metrics"   depends="-init"
  +           description="Generate project metrics">
  +
  +    <antcall target="call-cent">
  +      <param name="cent-name"   value="jdepend"/>
  +      <param name="cent-target" value="jdepend-html"/> 
  +    </antcall>
  + 
  + </target>     
  +
     
     <!-- ================================== -->
     <!--    Generates the documentation     -->
  @@ -301,6 +316,57 @@
     </target>     
   
     <!-- ================================== -->
  +  <!--       Generate UML                 -->
  +  <!-- ================================== -->
  +  
  +  <target  name="uml"   depends="-init"
  +           description="generate-uml">
  +  <!--
  +  <javadoc packagenames="org.apache.poi.*"
  +           sourcepath="./src/java"
  +           destdir="docs/metrics">
  +
  +     <doclet name="JP.co.esm.caddies.doclets.UMLDoclet"
  +             path="./tools/antipede/lib/UMLDoclet.jar">
  +        <param name="-d" value="docs/metrics"/>
  +     </doclet>
  +
  +  </javadoc>
  +    -->
  +    
  +        <javadoc packagenames="${xgump.module.project.package}.*"
  +             sourcepath="${xlayout.build.java.dir}"
  +             destdir="${xlayout.build.documentation.javadocs.dir}"
  +             author="true"
  +             version="true"
  +             use="true"
  +             failonerror="true"
  +             noindex="true"
  +             windowtitle="${package-name} ${package-version}  API"
  +             doctitle="${package-name} ${package-version}  API"
  +             bottom="Copyright &#169; ${YEAR} Apache ${package-name} project. All 
Rights Reserved."
  +             
stylesheetfile="${centipede.cent.dir}/resources/stylesheets/javadoc.css">
  + 
  +     <classpath>
  +       <path>
  +          <fileset dir="${xlayout.library.dir}" casesensitive="yes"> 
  +           <patternset>
  +             <include name="*/*.jar"/>
  +             <include name="*/*.zip"/>
  +           </patternset>
  +         </fileset>  
  +       </path> 
  +     </classpath>
  +      <doclet name="JP.co.esm.caddies.doclets.UMLDoclet"
  +             path="./tools/antipede/lib/UMLDoclet.jar">
  +        <param name="-d" value="docs/metrics"/>
  +     </doclet>
  +     
  +    </javadoc>
  +
  +  </target>     
  +
  +  <!-- ================================== -->
     <!--       Generate records                -->
     <!-- ================================== -->
     
  @@ -329,7 +395,7 @@
     <!-- ================================== -->
     
     <target  name="testmodule"   
  -           depends="clean, compile, test, jar, docs, javadocs"
  +           depends="clean, compile, test, jar, docs"
              description="Testing that all major targets work; useful before a 
commit"/>
              
              
  @@ -338,7 +404,7 @@
     <!-- ================================== -->
     
     <target  name="gump"   
  -           depends="clean, compile, test, jar, docs, javadocs"
  +           depends="clean, compile, test, jar, docs, javadocs, metrics"
              description="Target used by Gump"/>
              
   
  
  
  
  1.4       +4 -4      jakarta-poi/tools/antipede/build.xtarget
  
  Index: build.xtarget
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/tools/antipede/build.xtarget,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xtarget     4 Apr 2002 14:43:05 -0000       1.3
  +++ build.xtarget     6 Apr 2002 09:33:53 -0000       1.4
  @@ -66,10 +66,10 @@
       
       <!-- define the tasks found in cents -->
       <taskdef file="${temp.dir}/${task.properties.name}">
  -     <classpath>
  -       <fileset dir="${tools.dir}" casesensitive="yes"> 
  -         <include name="**/*.jar"/>
  -       </fileset> 
  +     <classpath>      
  +      <fileset dir="tools">
  +        <include name="**/*.jar"/>
  +      </fileset>
        </classpath>
       </taskdef>
       
  
  
  


Reply via email to