You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by br...@apache.org on 2002/02/25 15:13:08 UTC
cvs commit: jakarta-turbine-maven/src/templates/build build-metrics.xml
brekke 02/02/25 06:13:07
Modified: . project.xml
src/templates/build build-metrics.xml
Log:
Added myself as a developer to project.xml and created a subtarget in
build-metrics.xml to generate an xml formatted report. This could be
called by the docs build to generate a html page of the metrics. The other
targets to get the text report or start the gui are still there for use
while developing your project.
Revision Changes Path
1.6 +7 -0 jakarta-turbine-maven/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/project.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- project.xml 25 Feb 2002 00:17:43 -0000 1.5
+++ project.xml 25 Feb 2002 14:13:07 -0000 1.6
@@ -88,6 +88,13 @@
</developer>
<developer>
+ <name>Jeff Brekke</name>
+ <id>brekke</id>
+ <email>brekke@apache.org</email>
+ <organization></organization>
+ </developer>
+
+ <developer>
<name>Tom Copeland</name>
<id>tcopeland</id>
<email></email>
1.2 +24 -24 jakarta-turbine-maven/src/templates/build/build-metrics.xml
Index: build-metrics.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build-metrics.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build-metrics.xml 25 Feb 2002 05:51:49 -0000 1.1
+++ build-metrics.xml 25 Feb 2002 14:13:07 -0000 1.2
@@ -14,53 +14,53 @@
name="metrics"
depends="init,jdepend-report,jdepend-gui"
description="==> Gathers the code metrics">
-
</target>
<!-- ======================================================================== -->
<!-- J D E P E N D R E P O R T T A R G E T -->
<!-- ======================================================================== -->
<target name="jdepend-report" unless="use.jdepend.gui">
-
- <!-- Once we start to use Ant 1.5, we can use the builtin jdepend target -->
- <!-- to generate our xml reports. Until then we can use the xmlui. -->
- <!--
- <jdepend format="xml" outputfile="${docs.src}/jdepend-report.xml">
+ <!-- For now we just creat a text report using the built in jdepend task. -->
+ <jdepend outputfile="jdepend-report.txt">
<sourcespath>
- <pathelement location="${src.dir}/java" />
+ <pathelement location="${src.dir}/java"/>
</sourcespath>
<classpath location="${build.dest}" />
</jdepend>
- -->
+ </target>
- <!-- This call will gen a xml report regardless of the version of ant. -->
- <!--
- <java classname="jdepend.xmlui.JDepend" fork="yes" failonerror="yes">
- <arg line="-file ${docs.src}/jdepend-report.xml ${src.dir}/java ${build.dest}"/>
+ <!-- ======================================================================== -->
+ <!-- J D E P E N D G U I T A R G E T -->
+ <!-- ======================================================================== -->
+ <target name="jdepend-gui" if="use.jdepend.gui">
+ <java classname="jdepend.swingui.JDepend" fork="yes" failonerror="yes">
+ <arg line="${src.dir}/java ${build.dest}"/>
<classpath>
<path refid="classpath"/>
<pathelement location="./"/>
<pathelement path="${java.class.path}" />
</classpath>
</java>
- -->
+ </target>
- <!-- For now we just creat a text report using the built in jdepend task. -->
- <jdepend outputfile="jdepend-report.txt">
+ <!-- ======================================================================== -->
+ <!-- J D E P E N D X M L T A R G E T -->
+ <!-- ======================================================================== -->
+ <target name="jdepend-xml" depends="init">
+ <!-- Once we start to use Ant 1.5, we can use the builtin jdepend target -->
+ <!-- to generate our xml reports. Until then we can use the xmlui. -->
+ <!--
+ <jdepend format="xml" outputfile="${docs.src}/jdepend-report.xml">
<sourcespath>
- <pathelement location="${src.dir}/java"/>
+ <pathelement location="${src.dir}/java" />
</sourcespath>
<classpath location="${build.dest}" />
</jdepend>
+ -->
- </target>
-
- <!-- ======================================================================== -->
- <!-- J D E P E N D G U I T A R G E T -->
- <!-- ======================================================================== -->
- <target name="jdepend-gui" if="use.jdepend.gui">
- <java classname="jdepend.swingui.JDepend" fork="yes" failonerror="yes">
- <arg line="${src.dir}/java ${build.dest}"/>
+ <!-- This call will gen a xml report regardless of the version of ant. -->
+ <java classname="jdepend.xmlui.JDepend" fork="yes" failonerror="yes">
+ <arg line="-file ${docs.src}/jdepend-report.xml ${src.dir}/java ${build.dest}"/>
<classpath>
<path refid="classpath"/>
<pathelement location="./"/>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>