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:
parent
f54ccbaeba
commit
fb5f1c9537
70
build.xml
70
build.xml
@ -272,6 +272,21 @@ printed.
|
||||
|
||||
</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 © ${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"/>
|
||||
|
||||
|
||||
|
@ -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')");
|
||||
|
@ -67,9 +67,9 @@
|
||||
<!-- define the tasks found in cents -->
|
||||
<taskdef file="${temp.dir}/${task.properties.name}">
|
||||
<classpath>
|
||||
<fileset dir="${tools.dir}" casesensitive="yes">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
<fileset dir="tools">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
</classpath>
|
||||
</taskdef>
|
||||
|
||||
|
Binary file not shown.
BIN
tools/antipede/lib/jdepend.jar
Normal file
BIN
tools/antipede/lib/jdepend.jar
Normal file
Binary file not shown.
BIN
tools/cents/jdepend-20020406.cent.jar
Normal file
BIN
tools/cents/jdepend-20020406.cent.jar
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user