From 0d699b80d5e819589ffd67d7be84fbb46324ca10 Mon Sep 17 00:00:00 2001 From: dsyer Date: Fri, 15 Feb 2008 09:20:29 +0000 Subject: [PATCH] Draft Emma aggregation - not exposed in site yet. --- pom.xml | 178 +++++++++++++++++++++------- spring-batch-core/pom.xml | 9 ++ spring-batch-infrastructure/pom.xml | 9 ++ src/main/xsl/emma.xsl | 17 +++ src/main/xsl/emma2html.xsl | 81 +++++++++++++ 5 files changed, 253 insertions(+), 41 deletions(-) create mode 100644 src/main/xsl/emma.xsl create mode 100644 src/main/xsl/emma2html.xsl diff --git a/pom.xml b/pom.xml index eaf5f8ea7..d46ee7bef 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,6 @@ - + 4.0.0 org.springframework.batch @@ -27,9 +29,15 @@ http://www.springsource.com - http://fisheye3.cenqua.com/browse/springframework/spring-batch/trunk - scm:svn:http://springframework.svn.sourceforge.net/svnroot/springframework/spring-batch/trunk - scm:svn:https://springframework.svn.sourceforge.net/svnroot/springframework/spring-batch/trunk + + http://fisheye3.cenqua.com/browse/springframework/spring-batch/trunk + + + scm:svn:http://springframework.svn.sourceforge.net/svnroot/springframework/spring-batch/trunk + + + scm:svn:https://springframework.svn.sourceforge.net/svnroot/springframework/spring-batch/trunk + JIRA @@ -125,6 +133,64 @@ + + xsl-aggregation + + + src/main/xsl/emma.xsl + + + + + + org.apache.maven.plugins + maven-antrun-plugin + false + + + xsl + site + + + + Aggregating XSL reports + + + + + + + + + +
+ ]]> +
+
+ ]]> +
+
+ + + + +
+
+ + run + +
+
+
+
+
+
@@ -175,6 +241,73 @@ + + org.apache.maven.plugins + maven-antrun-plugin + + + junitreport + site + + + Creating JUnit reports + + + + + + + + Creating Emma reports + + + + + + + + + run + + + + + + org.apache.ant + ant + 1.7.0 + + + ant + ant-junit + 1.6.5 + + + org.apache.ant + ant-trax + 1.7.0 + + + org.apache.ant + ant-apache-regexp + 1.7.0 + + + foundrylogic.vpp + vpp + 2.2.1 + + + @@ -211,43 +344,6 @@ - - org.apache.maven.plugins - maven-antrun-plugin - - - junitreport - site - - - Creating JUnit reports - - - - - - - - - - - run - - - - - - ant - ant-junit - 1.6.5 - - - foundrylogic.vpp - vpp - 2.2.1 - - - maven-clean-plugin diff --git a/spring-batch-core/pom.xml b/spring-batch-core/pom.xml index 90ac55fd9..435e5a974 100644 --- a/spring-batch-core/pom.xml +++ b/spring-batch-core/pom.xml @@ -76,6 +76,15 @@ + + + + org.apache.maven.plugins + maven-antrun-plugin + + + + diff --git a/spring-batch-infrastructure/pom.xml b/spring-batch-infrastructure/pom.xml index cb7faf0d7..7e56ad14d 100644 --- a/spring-batch-infrastructure/pom.xml +++ b/spring-batch-infrastructure/pom.xml @@ -185,6 +185,15 @@ + + + + org.apache.maven.plugins + maven-antrun-plugin + + + + diff --git a/src/main/xsl/emma.xsl b/src/main/xsl/emma.xsl new file mode 100644 index 000000000..e01fe5cbd --- /dev/null +++ b/src/main/xsl/emma.xsl @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + diff --git a/src/main/xsl/emma2html.xsl b/src/main/xsl/emma2html.xsl new file mode 100644 index 000000000..d073b2668 --- /dev/null +++ b/src/main/xsl/emma2html.xsl @@ -0,0 +1,81 @@ + + + + + + + + + + <xsl:value-of select="$project" /> Coverage Report + + + + +

+ OVERALL COVERAGE SUMMARY for + + ( + + ) +

+ + + + + + + + + +
nameclass, %method, %block, %line, %
+

+ + +
+ + + + + + + + + + + + + + + + + + + + + + +