donaldp 02/03/20 15:29:48
Modified: cache build.xml
cli build.xml
extension build.xml
i18n build.xml
io build.xml
naming build.xml
Log:
Integrate jdepend analysis into our products.
Revision Changes Path
1.2 +21 -3 jakarta-avalon-excalibur/cache/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/cache/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 18 Mar 2002 10:48:46 -0000 1.1
+++ build.xml 20 Mar 2002 23:29:48 -0000 1.2
@@ -149,13 +149,13 @@
<target name="test-reports" depends="test" description="Generate Reports
for the unit tests">
- <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.reports}/junit"/>
<junitreport todir="${build.tests}">
<fileset dir="${build.tests}">
<include name="TEST-*.xml"/>
</fileset>
- <report format="frames" todir="${build.reports}"/>
+ <report format="frames" todir="${build.reports}/junit"/>
</junitreport>
<!-- Clean up the xml reports used by the junitreport task -->
@@ -168,8 +168,26 @@
</target>
+ <target name="jdepend" if="do.jdepend" description="Generate Dependency
Analysis Report">
+
+ <!-- this invocation of jdepend requires the CVS version of ant for
the xml format -->
+ <!-- thats why you are required to define do.jdepend property to
generate the report -->
+ <jdepend outputfile="${build.dir}/jdepend-results.xml" format="xml"
fork="yes">
+ <classpath refid="project.class.path"/>
+ <sourcespath>
+ <pathelement location="src/java" />
+ </sourcespath>
+ </jdepend>
+
+ <mkdir dir="${build.reports}/jdepend"/>
+ <style in="${build.dir}/jdepend-results.xml"
+ processor="trax"
+ out="${build.reports}/jdepend/delete-me.txt"
+ style="${ant.home}/etc/jdepend-frames.xsl"/>
+ </target>
+
<!-- Creates the distribution -->
- <target name="dist" depends="jar, test-reports, javadocs"
description="Generates the jar files">
+ <target name="dist" depends="jar, test-reports, jdepend, javadocs"
description="Generates the jar files">
<mkdir dir="${dist.dir}"/>
<copy file="${build.lib}/${dist.name}.jar" todir="${dist.dir}"/>
1.16 +21 -3 jakarta-avalon-excalibur/cli/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/cli/build.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- build.xml 18 Mar 2002 12:54:31 -0000 1.15
+++ build.xml 20 Mar 2002 23:29:48 -0000 1.16
@@ -148,13 +148,13 @@
<target name="test-reports" depends="test" description="Generate Reports
for the unit tests">
- <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.reports}/junit"/>
<junitreport todir="${build.tests}">
<fileset dir="${build.tests}">
<include name="TEST-*.xml"/>
</fileset>
- <report format="frames" todir="${build.reports}"/>
+ <report format="frames" todir="${build.reports}/junit"/>
</junitreport>
<!-- Clean up the xml reports used by the junitreport task -->
@@ -167,8 +167,26 @@
</target>
+ <target name="jdepend" if="do.jdepend" description="Generate Dependency
Analysis Report">
+
+ <!-- this invocation of jdepend requires the CVS version of ant for
the xml format -->
+ <!-- thats why you are required to define do.jdepend property to
generate the report -->
+ <jdepend outputfile="${build.dir}/jdepend-results.xml" format="xml"
fork="yes">
+ <classpath refid="project.class.path"/>
+ <sourcespath>
+ <pathelement location="src/java" />
+ </sourcespath>
+ </jdepend>
+
+ <mkdir dir="${build.reports}/jdepend"/>
+ <style in="${build.dir}/jdepend-results.xml"
+ processor="trax"
+ out="${build.reports}/jdepend/delete-me.txt"
+ style="${ant.home}/etc/jdepend-frames.xsl"/>
+ </target>
+
<!-- Creates the distribution -->
- <target name="dist" depends="jar, test-reports, javadocs"
description="Generates the jar files">
+ <target name="dist" depends="jar, test-reports, jdepend, javadocs"
description="Generates the jar files">
<mkdir dir="${dist.dir}"/>
<copy file="${build.lib}/${dist.name}.jar" todir="${dist.dir}"/>
1.18 +21 -3 jakarta-avalon-excalibur/extension/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/extension/build.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- build.xml 17 Mar 2002 13:16:55 -0000 1.17
+++ build.xml 20 Mar 2002 23:29:48 -0000 1.18
@@ -148,13 +148,13 @@
<target name="test-reports" depends="test" description="Generate Reports
for the unit tests">
- <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.reports}/junit"/>
<junitreport todir="${build.tests}">
<fileset dir="${build.tests}">
<include name="TEST-*.xml"/>
</fileset>
- <report format="frames" todir="${build.reports}"/>
+ <report format="frames" todir="${build.reports}/junit"/>
</junitreport>
<!-- Clean up the xml reports used by the junitreport task -->
@@ -167,8 +167,26 @@
</target>
+ <target name="jdepend" if="do.jdepend" description="Generate Dependency
Analysis Report">
+
+ <!-- this invocation of jdepend requires the CVS version of ant for
the xml format -->
+ <!-- thats why you are required to define do.jdepend property to
generate the report -->
+ <jdepend outputfile="${build.dir}/jdepend-results.xml" format="xml"
fork="yes">
+ <classpath refid="project.class.path"/>
+ <sourcespath>
+ <pathelement location="src/java" />
+ </sourcespath>
+ </jdepend>
+
+ <mkdir dir="${build.reports}/jdepend"/>
+ <style in="${build.dir}/jdepend-results.xml"
+ processor="trax"
+ out="${build.reports}/jdepend/delete-me.txt"
+ style="${ant.home}/etc/jdepend-frames.xsl"/>
+ </target>
+
<!-- Creates the distribution -->
- <target name="dist" depends="jar, test-reports, javadocs"
description="Generates the jar files">
+ <target name="dist" depends="jar, test-reports, jdepend, javadocs"
description="Generates the jar files">
<mkdir dir="${dist.dir}"/>
<copy file="${build.lib}/${dist.name}.jar" todir="${dist.dir}"/>
1.18 +21 -3 jakarta-avalon-excalibur/i18n/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/i18n/build.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- build.xml 17 Mar 2002 13:16:56 -0000 1.17
+++ build.xml 20 Mar 2002 23:29:48 -0000 1.18
@@ -147,13 +147,13 @@
<target name="test-reports" depends="test" description="Generate Reports
for the unit tests">
- <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.reports}/junit"/>
<junitreport todir="${build.tests}">
<fileset dir="${build.tests}">
<include name="TEST-*.xml"/>
</fileset>
- <report format="frames" todir="${build.reports}"/>
+ <report format="frames" todir="${build.reports}/junit"/>
</junitreport>
<!-- Clean up the xml reports used by the junitreport task -->
@@ -166,8 +166,26 @@
</target>
+ <target name="jdepend" if="do.jdepend" description="Generate Dependency
Analysis Report">
+
+ <!-- this invocation of jdepend requires the CVS version of ant for
the xml format -->
+ <!-- thats why you are required to define do.jdepend property to
generate the report -->
+ <jdepend outputfile="${build.dir}/jdepend-results.xml" format="xml"
fork="yes">
+ <classpath refid="project.class.path"/>
+ <sourcespath>
+ <pathelement location="src/java" />
+ </sourcespath>
+ </jdepend>
+
+ <mkdir dir="${build.reports}/jdepend"/>
+ <style in="${build.dir}/jdepend-results.xml"
+ processor="trax"
+ out="${build.reports}/jdepend/delete-me.txt"
+ style="${ant.home}/etc/jdepend-frames.xsl"/>
+ </target>
+
<!-- Creates the distribution -->
- <target name="dist" depends="jar, test-reports, javadocs"
description="Generates the jar files">
+ <target name="dist" depends="jar, test-reports, jdepend, javadocs"
description="Generates the jar files">
<mkdir dir="${dist.dir}"/>
<copy file="${build.lib}/${dist.name}.jar" todir="${dist.dir}"/>
1.19 +21 -3 jakarta-avalon-excalibur/io/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/io/build.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- build.xml 17 Mar 2002 13:16:56 -0000 1.18
+++ build.xml 20 Mar 2002 23:29:48 -0000 1.19
@@ -148,13 +148,13 @@
<target name="test-reports" depends="test" description="Generate Reports
for the unit tests">
- <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.reports}/junit"/>
<junitreport todir="${build.tests}">
<fileset dir="${build.tests}">
<include name="TEST-*.xml"/>
</fileset>
- <report format="frames" todir="${build.reports}"/>
+ <report format="frames" todir="${build.reports}/junit"/>
</junitreport>
<!-- Clean up the xml reports used by the junitreport task -->
@@ -166,8 +166,26 @@
-->
</target>
+ <target name="jdepend" if="do.jdepend" description="Generate Dependency
Analysis Report">
+
+ <!-- this invocation of jdepend requires the CVS version of ant for
the xml format -->
+ <!-- thats why you are required to define do.jdepend property to
generate the report -->
+ <jdepend outputfile="${build.dir}/jdepend-results.xml" format="xml"
fork="yes">
+ <classpath refid="project.class.path"/>
+ <sourcespath>
+ <pathelement location="src/java" />
+ </sourcespath>
+ </jdepend>
+
+ <mkdir dir="${build.reports}/jdepend"/>
+ <style in="${build.dir}/jdepend-results.xml"
+ processor="trax"
+ out="${build.reports}/jdepend/delete-me.txt"
+ style="${ant.home}/etc/jdepend-frames.xsl"/>
+ </target>
+
<!-- Creates the distribution -->
- <target name="dist" depends="jar, test-reports, javadocs"
description="Generates the jar files">
+ <target name="dist" depends="jar, test-reports, jdepend, javadocs"
description="Generates the jar files">
<mkdir dir="${dist.dir}"/>
<copy file="${build.lib}/${dist.name}.jar" todir="${dist.dir}"/>
1.19 +21 -3 jakarta-avalon-excalibur/naming/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/naming/build.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- build.xml 17 Mar 2002 13:16:56 -0000 1.18
+++ build.xml 20 Mar 2002 23:29:48 -0000 1.19
@@ -155,13 +155,13 @@
<target name="test-reports" depends="test" description="Generate Reports
for the unit tests">
- <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.reports}/junit"/>
<junitreport todir="${build.tests}">
<fileset dir="${build.tests}">
<include name="TEST-*.xml"/>
</fileset>
- <report format="frames" todir="${build.reports}"/>
+ <report format="frames" todir="${build.reports}/junit"/>
</junitreport>
<!-- Clean up the xml reports used by the junitreport task -->
@@ -173,8 +173,26 @@
-->
</target>
+ <target name="jdepend" if="do.jdepend" description="Generate Dependency
Analysis Report">
+
+ <!-- this invocation of jdepend requires the CVS version of ant for
the xml format -->
+ <!-- thats why you are required to define do.jdepend property to
generate the report -->
+ <jdepend outputfile="${build.dir}/jdepend-results.xml" format="xml"
fork="yes">
+ <classpath refid="project.class.path"/>
+ <sourcespath>
+ <pathelement location="src/java" />
+ </sourcespath>
+ </jdepend>
+
+ <mkdir dir="${build.reports}/jdepend"/>
+ <style in="${build.dir}/jdepend-results.xml"
+ processor="trax"
+ out="${build.reports}/jdepend/delete-me.txt"
+ style="${ant.home}/etc/jdepend-frames.xsl"/>
+ </target>
+
<!-- Creates the distribution -->
- <target name="dist" depends="jar, test-reports, javadocs"
description="Generates the jar files">
+ <target name="dist" depends="jar, test-reports, jdepend, javadocs"
description="Generates the jar files">
<mkdir dir="${dist.dir}"/>
<copy file="${build.lib}/${dist.name}.jar" todir="${dist.dir}"/>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>