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 718e237e17
commit fc9c4c838c
6 changed files with 73 additions and 6 deletions

View File

@ -272,6 +272,21 @@ printed.
</target> </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 --> <!-- Generates the documentation -->
<!-- ================================== --> <!-- ================================== -->
@ -300,6 +315,57 @@ printed.
</target> </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 --> <!-- Generate records -->
<!-- ================================== --> <!-- ================================== -->
@ -329,7 +395,7 @@ printed.
<!-- ================================== --> <!-- ================================== -->
<target name="testmodule" <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"/> description="Testing that all major targets work; useful before a commit"/>
@ -338,7 +404,7 @@ printed.
<!-- ================================== --> <!-- ================================== -->
<target name="gump" <target name="gump"
depends="clean, compile, test, jar, docs, javadocs" depends="clean, compile, test, jar, docs, javadocs, metrics"
description="Target used by Gump"/> 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","window.open('./build/docs/index.html')");
menu.subMenus[2].addItem("local javadocs","window.open('./build/docs/javadocs/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("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("module.xml","window.open('module.xml')");
menu.subMenus[3].addItem("layout.xml","window.open('layout.xml')"); menu.subMenus[3].addItem("layout.xml","window.open('layout.xml')");

View File

@ -67,7 +67,7 @@
<!-- define the tasks found in cents --> <!-- define the tasks found in cents -->
<taskdef file="${temp.dir}/${task.properties.name}"> <taskdef file="${temp.dir}/${task.properties.name}">
<classpath> <classpath>
<fileset dir="${tools.dir}" casesensitive="yes"> <fileset dir="tools">
<include name="**/*.jar"/> <include name="**/*.jar"/>
</fileset> </fileset>
</classpath> </classpath>

Binary file not shown.

Binary file not shown.