Added jdepend cent.

There are problems with classpath, so I've but the jar in the antipede lib dir :-(


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352335 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nicola Ken Barozzi 2002-04-06 09:35:38 +00:00
parent f54ccbaeba
commit fb5f1c9537
6 changed files with 73 additions and 6 deletions

View File

@ -271,6 +271,21 @@ printed.
</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 -->
@ -300,6 +315,57 @@ printed.
</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 @@ printed.
<!-- ================================== -->
<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 @@ printed.
<!-- ================================== -->
<target name="gump"
depends="clean, compile, test, jar, docs, javadocs"
depends="clean, compile, test, jar, docs, javadocs, metrics"
description="Target used by Gump"/>

View File

@ -418,6 +418,7 @@ menu.subMenus[2].addItem("site","window.open('http://jakarta.apache.org/poi/')")
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')");

View File

@ -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>

Binary file not shown.

Binary file not shown.