cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2004/12/07 05:29:53 Modified:jcoverage plugin.jelly project.xml jcoverage/xdocs changes.xml Log: Open the report in a new window. Revision ChangesPath 1.18 +1 -0 maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- plugin.jelly 9 Nov 2004 11:38:59 - 1.17 +++ plugin.jelly 7 Dec 2004 13:29:53 - 1.18 @@ -64,6 +64,7 @@ name="JCoverage" pluginName="maven-jcoverage-plugin" link="jcoverage/index" +target="_blank" description="JCoverage test coverage report." /> 1.34 +1 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- project.xml 10 Nov 2004 09:52:34 - 1.33 +++ project.xml 7 Dec 2004 13:29:53 - 1.34 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.9 + 1.0.10-SNAPSHOT org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. 1.29 +3 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- changes.xml 10 Nov 2004 09:52:34 - 1.28 +++ changes.xml 7 Dec 2004 13:29:53 - 1.29 @@ -24,6 +24,9 @@ Emmanuel Venisse + + Open report in a new window. + Fix incorrect usage of maven:addPath tag Fixed leaking file handles. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
brett 2004/11/10 01:52:34 Modified:jcoverage project.xml jcoverage/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.0.9 Revision ChangesPath 1.33 +6 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- project.xml 15 Oct 2004 14:49:17 - 1.32 +++ project.xml 10 Nov 2004 09:52:34 - 1.33 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.9-SNAPSHOT + 1.0.9 org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. @@ -70,6 +70,11 @@ 1.0.8 1.0.8 MAVEN_JCOVERAGE_1_0_8 + + + 1.0.9 + 1.0.9 + MAVEN_JCOVERAGE_1_0_9 1.28 +1 -1 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- changes.xml 9 Nov 2004 11:38:59 - 1.27 +++ changes.xml 10 Nov 2004 09:52:34 - 1.28 @@ -24,7 +24,7 @@ Emmanuel Venisse - + Fix incorrect usage of maven:addPath tag Fixed leaking file handles. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
brett 2004/11/09 03:38:59 Modified:jcoverage plugin.jelly jcoverage/xdocs changes.xml Log: remove superfluous addPath tag that was actually invalid (refid was a path, not an ant path reference - and the path given is already part of maven.dependency.classpath) Revision ChangesPath 1.17 +0 -1 maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- plugin.jelly 17 Aug 2004 14:00:48 - 1.16 +++ plugin.jelly 9 Nov 2004 11:38:59 - 1.17 @@ -119,7 +119,6 @@ instrumenting the class-files... - + Fix incorrect usage of maven:addPath tag Fixed leaking file handles. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2004/10/15 07:49:17 Modified:jcoverage project.xml jcoverage/src/main/org/apache/maven/jcoveragereport CoverageReport.java CoverageReportGenerator.java jcoverage/xdocs changes.xml Log: MPJCOVERAGE-17. Fixed leaking file handles. Revision ChangesPath 1.32 +1 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- project.xml 26 Sep 2004 04:53:08 - 1.31 +++ project.xml 15 Oct 2004 14:49:17 - 1.32 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.8 + 1.0.9-SNAPSHOT org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. 1.11 +2 -1 maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.java Index: CoverageReport.java === RCS file: /home/cvs/maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- CoverageReport.java 6 Jul 2004 16:06:46 - 1.10 +++ CoverageReport.java 15 Oct 2004 14:49:17 - 1.11 @@ -436,6 +436,7 @@ pw.println(generateFooter()); pw.println(""); pw.println(""); +br.close(); pw.close(); } 1.5 +10 -2 maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReportGenerator.java Index: CoverageReportGenerator.java === RCS file: /home/cvs/maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReportGenerator.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- CoverageReportGenerator.java 31 Mar 2004 22:55:19 - 1.4 +++ CoverageReportGenerator.java 15 Oct 2004 14:49:17 - 1.5 @@ -56,10 +56,11 @@ { System.out.println("Generate report for " + dataFile + " file."); System.out.println("OutputDir = " + outputDir); +FileReader fr = null; try { prepareFile(); -FileReader fr = new FileReader(dataFile); +fr = new FileReader(dataFile); CoverageUnmarshaller cum = new CoverageUnmarshaller(); Coverage coverage = cum.parse(fr); @@ -69,6 +70,13 @@ catch (Exception e) { e.printStackTrace(); +} +finally +{ +if (fr != null) +{ +fr.close(); +} } } 1.26 +3 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- changes.xml 26 Sep 2004 04:53:08 - 1.25 +++ changes.xml 15 Oct 2004 14:49:17 - 1.26 @@ -24,6 +24,9 @@ Emmanuel Venisse + + Fixed leaking file handles. + Fixed overview and packages rates. Add the possibility to set multiple includes and excludes files for instrumentation. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
brett 2004/09/25 21:53:08 Modified:jcoverage project.xml jcoverage/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.0.8 Revision ChangesPath 1.31 +6 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- project.xml 17 Aug 2004 14:00:48 - 1.30 +++ project.xml 26 Sep 2004 04:53:08 - 1.31 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.8-SNAPSHOT + 1.0.8 org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. @@ -65,6 +65,11 @@ 1.0.7 1.0.7 MAVEN_JCOVERAGE_1_0_7 + + + 1.0.8 + 1.0.8 + MAVEN_JCOVERAGE_1_0_8 1.25 +1 -1 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- changes.xml 3 Sep 2004 07:58:59 - 1.24 +++ changes.xml 26 Sep 2004 04:53:08 - 1.25 @@ -24,7 +24,7 @@ Emmanuel Venisse - + Fixed overview and packages rates. Add the possibility to set multiple includes and excludes files for instrumentation. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2004/09/03 00:58:59 Modified:jcoverage/src/main/org/apache/maven/jcoveragereport Coverage.java Package.java jcoverage/xdocs changes.xml Log: MPJCOVERAGE-14. Fixed overview and packages rates. Revision ChangesPath 1.5 +19 -9 maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/Coverage.java Index: Coverage.java === RCS file: /home/cvs/maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/Coverage.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Coverage.java 6 Mar 2004 22:41:56 - 1.4 +++ Coverage.java 3 Sep 2004 07:58:59 - 1.5 @@ -123,13 +123,15 @@ public String getCoveredPercentBranch() { -double total = 0.00d; + double totalLines = 0.00d; + double total = 0.00d; if (getLineCoverage() > 0.00d) { for (Iterator iter = getClasses().iterator(); iter.hasNext(); ) { Clazz theClass = (Clazz) iter.next(); +int classLines = theClass.getLines().size(); double rate = 0; try { @@ -139,30 +141,38 @@ { rate = 0; } -total += rate; +total += (rate*classLines); +totalLines += classLines; } + +total /= totalLines; } -return String.valueOf(total / getClasses().size()); +return String.valueOf(total); } - + private double getLineCoverage() { -double total = 0.00d; +double totalLines = 0.00d; +double totalTestedLines = 0.00d; for (Iterator iter = getClasses().iterator(); iter.hasNext(); ) { Clazz theClass = (Clazz) iter.next(); +int classLines = theClass.getLines().size(); double rate = 0; try -{ + { rate = new Double(theClass.getLineRate()).floatValue(); } catch(NumberFormatException e) { rate = 0; } -total += rate; +totalTestedLines += (rate * classLines); +totalLines += classLines; } -return total / getClasses().size(); + +return (totalTestedLines / totalLines); + } } 1.6 +14 -9 maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/Package.java Index: Package.java === RCS file: /home/cvs/maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/Package.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Package.java 6 Mar 2004 22:41:56 - 1.5 +++ Package.java 3 Sep 2004 07:58:59 - 1.6 @@ -91,13 +91,15 @@ public String getCoveredPercentBranch() { -double total = 0.00d; + double pckgLines = 0.00d; + double total = 0.00d; if (getLineCoverage() > 0.00d) { for (Iterator iter = getClasses().iterator(); iter.hasNext(); ) { Clazz theClass = (Clazz) iter.next(); +int classLines = theClass.getLines().size(); double rate = 0; try { @@ -107,10 +109,11 @@ { rate = 0; } -total += rate; +total += (rate*classLines); +pckgLines += classLines; } -total /= getClasses().size(); +total /= pckgLines; } return String.valueOf(total); @@ -118,23 +121,25 @@ private double getLineCoverage() { -double total = 0.00d; - +double pckgLines = 0.00d; +double pckgTestedLines = 0.00d; for (Iterator iter = getClasses().iterator(); iter.hasNext(); ) { Clazz theClass = (Clazz) iter.next(); +int classLines = theClass.getLines().size(); double rate = 0; try -{ + { rate = new Double(theClass.getLineRate()).floatValue(); } catch(NumberFormatException e) { rate = 0; } -total += rate; +pckgTestedLines += (rate * classLines); +pckgLines += classLines; } -return (total / getClasses().size()); +re
cvs commit: maven-plugins/jcoverage/xdocs changes.xml properties.xml
evenisse2004/08/17 07:00:48 Modified:jcoverage plugin.jelly plugin.properties project.xml jcoverage/xdocs changes.xml properties.xml Log: Add the possibility to set multiple includes and excludes files for instrumentation. Revision ChangesPath 1.16 +3 -4 maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- plugin.jelly 11 Jul 2004 15:19:32 - 1.15 +++ plugin.jelly 17 Aug 2004 14:00:48 - 1.16 @@ -122,10 +122,9 @@ - - - - + 1.5 +2 -1 maven-plugins/jcoverage/plugin.properties Index: plugin.properties === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- plugin.properties 26 Apr 2004 12:12:14 - 1.4 +++ plugin.properties 17 Aug 2004 14:00:48 - 1.5 @@ -20,4 +20,5 @@ maven.jcoverage.junit.fork=yes maven.jcoverage.report.template=maven maven.jcoverage.report.stylesheet=${plugin.resources}/style.css -maven.jcoverage.instrumentation.excludes=NOT_DEFINED \ No newline at end of file +maven.jcoverage.instrumentation.includes=**/*.class +maven.jcoverage.instrumentation.excludes=NOT_DEFINED 1.30 +1 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- project.xml 11 Jul 2004 15:27:48 - 1.29 +++ project.xml 17 Aug 2004 14:00:48 - 1.30 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.7 + 1.0.8-SNAPSHOT org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. 1.23 +3 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- changes.xml 11 Jul 2004 15:27:48 - 1.22 +++ changes.xml 17 Aug 2004 14:00:48 - 1.23 @@ -24,6 +24,9 @@ Emmanuel Venisse + + Add the possibility to set multiple includes and excludes files for instrumentation. + Fixed tests execution when artifact contains properties. Remove deprecated APIs. 1.6 +8 -0 maven-plugins/jcoverage/xdocs/properties.xml Index: properties.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/properties.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- properties.xml26 Apr 2004 12:12:14 - 1.5 +++ properties.xml17 Aug 2004 14:00:48 - 1.6 @@ -57,6 +57,14 @@ + maven.jcoverage.instrumentation.includes + **/*.class + Yes + +Specifies the pattern for the included classes of instrumentation. + + + maven.jcoverage.instrumentation.excludes Not defined Yes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2004/07/11 08:27:48 Modified:jcoverage project.xml jcoverage/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.0.7 Revision ChangesPath 1.29 +6 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- project.xml 11 Jul 2004 15:19:32 - 1.28 +++ project.xml 11 Jul 2004 15:27:48 - 1.29 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.7-SNAPSHOT + 1.0.7 org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. @@ -60,6 +60,11 @@ 1.0.6 1.0.6 MAVEN_JCOVERAGE_1_0_6 + + + 1.0.7 + 1.0.7 + MAVEN_JCOVERAGE_1_0_7 1.22 +1 -1 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- changes.xml 11 Jul 2004 15:19:33 - 1.21 +++ changes.xml 11 Jul 2004 15:27:48 - 1.22 @@ -24,7 +24,7 @@ Emmanuel Venisse - + Fixed tests execution when artifact contains properties. Remove deprecated APIs. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2004/07/11 08:19:33 Modified:jcoverage plugin.jelly project.xml jcoverage/xdocs changes.xml Log: Fixed tests execution when artifact contains properties. - Remove deprecated APIs. Revision ChangesPath 1.15 +13 -11maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- plugin.jelly 3 Jul 2004 02:08:16 - 1.14 +++ plugin.jelly 11 Jul 2004 15:19:32 - 1.15 @@ -50,8 +50,8 @@ - + + @@ -101,17 +101,18 @@ - + - ${pom.getPluginContext('maven-test-plugin').setVariable('maven.build.dest', instrumented)} + + - ${pom.getPluginContext('maven-test-plugin').setVariable('maven.junit.fork', fork)} + - + @@ -179,7 +180,7 @@ - + @@ -195,21 +196,22 @@ - + + outputDir="${jcoverageDocs}"/> - ${pom.getPluginContext('maven-test-plugin').setVariable('maven.junit.fork', oldfork)} + - ${pom.getPluginContext('maven-test-plugin').setVariable('maven.build.dest', oldBuildDest)} + + ${ex} 1.28 +1 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- project.xml 8 Jul 2004 14:47:50 - 1.27 +++ project.xml 11 Jul 2004 15:19:32 - 1.28 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.6 + 1.0.7-SNAPSHOT org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. 1.21 +4 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- changes.xml 8 Jul 2004 14:47:50 - 1.20 +++ changes.xml 11 Jul 2004 15:19:33 - 1.21 @@ -24,6 +24,10 @@ Emmanuel Venisse + + Fixed tests execution when artifact contains properties. + Remove deprecated APIs. + Fixed path to stylesheet. Remove postGoal on clean to avoid introducing all these dependencies on a simple clean. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2004/07/08 07:47:50 Modified:jcoverage project.xml jcoverage/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.0.6 Revision ChangesPath 1.27 +6 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- project.xml 3 Jul 2004 02:08:16 - 1.26 +++ project.xml 8 Jul 2004 14:47:50 - 1.27 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.6-SNAPSHOT + 1.0.6 org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. @@ -55,6 +55,11 @@ 1.0.5 1.0.5 MAVEN_JCOVERAGE_1_0_5 + + + 1.0.6 + 1.0.6 + MAVEN_JCOVERAGE_1_0_6 1.20 +1 -1 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- changes.xml 6 Jul 2004 16:06:46 - 1.19 +++ changes.xml 8 Jul 2004 14:47:50 - 1.20 @@ -24,7 +24,7 @@ Emmanuel Venisse - + Fixed path to stylesheet. Remove postGoal on clean to avoid introducing all these dependencies on a simple clean. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2004/07/06 09:06:46 Modified:jcoverage/src/main/org/apache/maven/jcoveragereport CoverageReport.java jcoverage/xdocs changes.xml Log: [MPJCOVERAGE-9]. Fixed path to stylesheet. Revision ChangesPath 1.10 +2 -2 maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.java Index: CoverageReport.java === RCS file: /home/cvs/maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- CoverageReport.java 31 Mar 2004 22:55:19 - 1.9 +++ CoverageReport.java 6 Jul 2004 16:06:46 - 1.10 @@ -489,7 +489,7 @@ { if (path != null && !path.equals("")) { -return new Perl5Util().substitute("s/[^\\.]*(\\.|$)/\\.\\.\\//g", path); +return new Perl5Util().substitute("s/[^\\.]*(\\.|$)/..\\//g", path); } else { 1.19 +1 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- changes.xml 3 Jul 2004 02:08:16 - 1.18 +++ changes.xml 6 Jul 2004 16:06:46 - 1.19 @@ -25,6 +25,7 @@ + Fixed path to stylesheet. Remove postGoal on clean to avoid introducing all these dependencies on a simple clean. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
brett 2004/07/02 19:08:16 Modified:jcoverage plugin.jelly project.xml jcoverage/xdocs changes.xml Log: avoid needing dependencies for a simple maven clean should cvsignore the file, or set up a way to tell clean there is a new file to clean Revision ChangesPath 1.14 +0 -5 maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- plugin.jelly 28 May 2004 10:27:27 - 1.13 +++ plugin.jelly 3 Jul 2004 02:08:16 - 1.14 @@ -240,9 +240,4 @@ - - - - - 1.26 +1 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- project.xml 28 Jun 2004 11:37:59 - 1.25 +++ project.xml 3 Jul 2004 02:08:16 - 1.26 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.5 + 1.0.6-SNAPSHOT org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. 1.18 +3 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- changes.xml 28 Jun 2004 11:37:59 - 1.17 +++ changes.xml 3 Jul 2004 02:08:16 - 1.18 @@ -24,6 +24,9 @@ Emmanuel Venisse + + Remove postGoal on clean to avoid introducing all these dependencies on a simple clean. + Fixed report generation fails when no java source present. Handle multiple source directories correctly - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
brett 2004/06/28 04:37:59 Modified:jcoverage project.xml jcoverage/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.0.5 Revision ChangesPath 1.25 +6 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- project.xml 25 Jun 2004 15:24:29 - 1.24 +++ project.xml 28 Jun 2004 11:37:59 - 1.25 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.5-SNAPSHOT + 1.0.5 org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. @@ -50,6 +50,11 @@ 1.0.4 1.0.4 MAVEN_JCOVERAGE_1_0_4 + + + 1.0.5 + 1.0.5 + MAVEN_JCOVERAGE_1_0_5 1.17 +1 -1 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- changes.xml 28 May 2004 10:27:27 - 1.16 +++ changes.xml 28 Jun 2004 11:37:59 - 1.17 @@ -24,7 +24,7 @@ Emmanuel Venisse - + Fixed report generation fails when no java source present. Handle multiple source directories correctly Copy all of maven.build.dest, excluding the class files, into the instrumentation directory, as some people hook into the resources copying themselves without adding them to the POM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2004/05/28 03:27:27 Modified:jcoverage plugin.jelly jcoverage/xdocs changes.xml Log: MPJCOVERAGE-8. Fixed report generation fails when no java source present. Revision ChangesPath 1.13 +60 -53maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- plugin.jelly 27 May 2004 01:14:12 - 1.12 +++ plugin.jelly 28 May 2004 10:27:27 - 1.13 @@ -159,60 +159,67 @@ description="Generate HTML test coverage reports with JCoverage" prereqs="jcoverage:on,test:test"> - - - - ${sourceDir} - - -Copying ${size(sourceDirList)} source directories into one for jcoverage - - - - - - - - - - - - - - - - + + + - jcoverage reports have been generated. - The HTML report is ${maven.build.coverage.dir}/index.html - - - - - - - - - - - - - - - ${pom.getPluginContext('maven-test-plugin').setVariable('maven.junit.fork', oldfork)} - - ${pom.getPluginContext('maven-test-plugin').setVariable('maven.build.dest', oldBuildDest)} - - - ${ex} - - + + ${sourceDir} + + +Copying ${size(sourceDirList)} source directories into one for jcoverage + + + + + + + + + + + + + + + + + + jcoverage reports have been generated. + The HTML report is ${maven.build.coverage.dir}/index.html + + + + + + + + + + + + + + + ${pom.getPluginContext('maven-test-plugin').setVariable('maven.junit.fork', oldfork)} + + ${pom.getPluginContext('maven-test-plugin').setVariable('maven.build.dest', oldBuildDest)} + + + ${ex} + + + + +No tests to run JCoverage on. + + 1.16 +1 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- changes.xml 27 May 2004 01:14:12 - 1.15 +++ changes.xml 28 May 2004 10:27:27 - 1.16 @@ -25,6 +25,7 @@ + Fixed report generation fails when no java source present. Handle multiple source directories correctly Copy all of maven.build.dest, excluding the class files, into the instrumentation directory, as some people hook into the resources copying themselves without adding them to the POM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
brett 2004/05/26 18:14:12 Modified:jcoverage plugin.jelly jcoverage/xdocs changes.xml Log: copy entire classes directory for instrumentation Revision ChangesPath 1.12 +7 -6 maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- plugin.jelly 26 May 2004 23:51:31 - 1.11 +++ plugin.jelly 27 May 2004 01:14:12 - 1.12 @@ -130,16 +130,17 @@ + + + + + + + ${ex} - - - - 1.15 +1 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- changes.xml 26 May 2004 23:51:31 - 1.14 +++ changes.xml 27 May 2004 01:14:12 - 1.15 @@ -26,6 +26,7 @@ Handle multiple source directories correctly + Copy all of maven.build.dest, excluding the class files, into the instrumentation directory, as some people hook into the resources copying themselves without adding them to the POM Custom stylesheet for jcoverage plugin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
brett 2004/05/26 16:51:31 Modified:jcoverage plugin.jelly project.xml jcoverage/xdocs changes.xml Log: PR: MPJCOVERAGE-1 copy multiple source directories into one Revision ChangesPath 1.11 +15 -3 maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- plugin.jelly 26 Apr 2004 12:12:14 - 1.10 +++ plugin.jelly 26 May 2004 23:51:31 - 1.11 @@ -160,10 +160,23 @@ + + ${sourceDir} + + +Copying ${size(sourceDirList)} source directories into one for jcoverage + + + + + + + + - + @@ -173,8 +186,7 @@ The HTML report is ${maven.build.coverage.dir}/index.html - + 1.23 +11 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- project.xml 16 May 2004 02:08:39 - 1.22 +++ project.xml 26 May 2004 23:51:31 - 1.23 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.4 + 1.0.5-SNAPSHOT org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. @@ -71,6 +71,16 @@ Java Developer +1 + + + Brett Porter + brett + [EMAIL PROTECTED] + f2 network + +Developer + + +10 1.14 +3 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- changes.xml 16 May 2004 02:08:39 - 1.13 +++ changes.xml 26 May 2004 23:51:31 - 1.14 @@ -24,6 +24,9 @@ Emmanuel Venisse + + Handle multiple source directories correctly + Custom stylesheet for jcoverage plugin. Fix the report generation after a rmic generation. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
brett 2004/05/15 19:08:39 Modified:jcoverage project.xml jcoverage/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.0.4 Revision ChangesPath 1.22 +6 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- project.xml 16 May 2004 01:35:47 - 1.21 +++ project.xml 16 May 2004 02:08:39 - 1.22 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.4-SNAPSHOT + 1.0.4 org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. @@ -45,6 +45,11 @@ 1.0.3 1.0.3 MAVEN_JCOVERAGE_1_0_3 + + + 1.0.4 + 1.0.4 + MAVEN_JCOVERAGE_1_0_4 1.13 +1 -1 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- changes.xml 30 Apr 2004 14:38:44 - 1.12 +++ changes.xml 16 May 2004 02:08:39 - 1.13 @@ -24,7 +24,7 @@ Emmanuel Venisse - + Custom stylesheet for jcoverage plugin. Fix the report generation after a rmic generation. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml properties.xml
evenisse2004/04/23 09:20:24 Modified:jcoverage plugin.jelly jcoverage/xdocs changes.xml properties.xml Log: MPJCOVERAGE-7. Custom stylesheet for jcoverage plugin. Revision ChangesPath 1.9 +5 -1 maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- plugin.jelly 4 Mar 2004 18:36:01 - 1.8 +++ plugin.jelly 23 Apr 2004 16:20:24 - 1.9 @@ -179,7 +179,11 @@ - + + + + + 1.11 +1 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- changes.xml 31 Mar 2004 22:55:20 - 1.10 +++ changes.xml 23 Apr 2004 16:20:24 - 1.11 @@ -25,6 +25,7 @@ + Custom stylesheet for jcoverage plugin. Fix the report generation after a rmic generation. 1.4 +8 -0 maven-plugins/jcoverage/xdocs/properties.xml Index: properties.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/properties.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- properties.xml4 Mar 2004 18:36:01 - 1.3 +++ properties.xml23 Apr 2004 16:20:24 - 1.4 @@ -41,6 +41,14 @@ + maven.jcoverage.report.stylesheet.dir + ${plugin.resources}/style.css + Yes + +Specifies css file for jcoverage output files. + + + maven.jcoverage.instrumentation ${maven.jcoverage.dir}/classes Yes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2004/03/31 14:55:20 Modified:jcoverage project.xml jcoverage/src/main/org/apache/maven/jcoveragereport CoverageReport.java CoverageReportGenerator.java jcoverage/xdocs changes.xml Log: MPJCOVERAGE-6. Fix the report generation after a rmic generation. Revision ChangesPath 1.17 +1 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- project.xml 10 Mar 2004 11:51:28 - 1.16 +++ project.xml 31 Mar 2004 22:55:19 - 1.17 @@ -23,7 +23,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.3 + 1.0.4-SNAPSHOT org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. 1.9 +19 -13 maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.java Index: CoverageReport.java === RCS file: /home/cvs/maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- CoverageReport.java 2 Mar 2004 15:07:06 - 1.8 +++ CoverageReport.java 31 Mar 2004 22:55:19 - 1.9 @@ -278,12 +278,15 @@ for (Iterator it = thePackage.getClassesSortedByName().iterator(); it.hasNext(); ) { Clazz cl = (Clazz) it.next(); -String classFilename = cl.getFile().substring(cl.getFile().lastIndexOf("/")+1, cl.getFile().lastIndexOf(".")) + ".html"; -pw.println(""); -pw.println("" + cl.getName() + ""); -pw.println("" + generatePercentResult(getPercentValue(cl.getLineRate())) + ""); -pw.println("" + generatePercentResult(getPercentValue(cl.getBranchRate())) + ""); -pw.println(""); +if (cl.getFile().indexOf("[Unknown]")<0) +{ +String classFilename = cl.getFile().substring(cl.getFile().lastIndexOf("/")+1, cl.getFile().lastIndexOf(".")) + ".html"; +pw.println(""); +pw.println("" + cl.getName() + ""); +pw.println("" + generatePercentResult(getPercentValue(cl.getLineRate())) + ""); +pw.println("" + generatePercentResult(getPercentValue(cl.getBranchRate())) + ""); +pw.println(""); +} } } } @@ -326,12 +329,15 @@ for (Iterator iter = classesList.iterator(); iter.hasNext(); ) { Clazz cl = (Clazz) iter.next(); -String classFilename = cl.getFile().substring(cl.getFile().lastIndexOf("/")+1, cl.getFile().lastIndexOf(".")) + ".html"; -pw.println(""); -pw.println("" + cl.getName() + ""); -pw.println("" + generatePercentResult(getPercentValue(cl.getLineRate())) + ""); -pw.println("" + generatePercentResult(getPercentValue(cl.getBranchRate())) + ""); -pw.println(""); +if (cl.getFile().indexOf("[Unknown]")<0) +{ +String classFilename = cl.getFile().substring(cl.getFile().lastIndexOf("/")+1, cl.getFile().lastIndexOf(".")) + ".html"; +pw.println(""); +pw.println("" + cl.getName() + ""); +pw.println("" + generatePercentResult(getPercentValue(cl.getLineRate())) + ""); +pw.println("" + generatePercentResult(getPercentValue(cl.getBranchRate())) + ""); +pw.println(""); +} } } } 1.4 +2 -1 maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReportGenerator.java Index: CoverageReportGenerator.java === RCS file: /home/cvs/maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReportGenerator.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CoverageReportGenerator.java 2 Mar 2004 15:07:06 -
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
brett 2004/03/10 03:51:29 Modified:jcoverage project.xml jcoverage/xdocs changes.xml Log: [maven-scm-plugin] prepare release 1.0.3 Revision ChangesPath 1.16 +7 -2 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- project.xml 7 Mar 2004 23:01:25 - 1.15 +++ project.xml 10 Mar 2004 11:51:28 - 1.16 @@ -1,4 +1,5 @@ + - ../project.xml 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.3-SNAPSHOT + 1.0.3 org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. @@ -45,6 +45,11 @@ 1.0.3 1.0.3 HEAD + + + 1.0.3 + 1.0.3 + MAVEN_JCOVERAGE_1_0_3 1.9 +11 -28maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- changes.xml 4 Mar 2004 18:36:01 - 1.8 +++ changes.xml 10 Mar 2004 11:51:28 - 1.9 @@ -1,4 +1,5 @@ - + +
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2004/01/29 03:13:50 Modified:jcoverage plugin.jelly project.xml jcoverage/xdocs changes.xml Log: Fix MPJCOVERAGE-3. Add missing jars for jdks lower than 1.4. Revision ChangesPath 1.6 +2 -0 maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly === RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- plugin.jelly 9 Sep 2003 16:18:40 - 1.5 +++ plugin.jelly 29 Jan 2004 11:13:50 - 1.6 @@ -26,6 +26,8 @@ + + 1.13 +12 -0 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- project.xml 29 Dec 2003 04:38:06 - 1.12 +++ project.xml 29 Jan 2004 11:13:50 - 1.13 @@ -105,6 +105,18 @@ http://www.extreme.indiana.edu/xgws/xsoap/xpp/ + xerces + xercesImpl + 2.4.0 + http://xml.apache.org/xerces2-j/index.html + + + xerces + xmlParserAPIs + 2.2.1 + http://xml.apache.org/xerces2-j/index.html + + commons-jelly commons-jelly-tags-log 20030211.142821 1.7 +3 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- changes.xml 17 Dec 2003 20:14:20 - 1.6 +++ changes.xml 29 Jan 2004 11:13:50 - 1.7 @@ -7,6 +7,9 @@ + +Apply MPJCOVERAGE-3. + - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2003/12/17 12:14:20 Modified:jcoverage project.xml jcoverage/xdocs changes.xml Log: Start the 1.0.3 Revision ChangesPath 1.9 +6 -1 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- project.xml 17 Dec 2003 20:06:45 - 1.8 +++ project.xml 17 Dec 2003 20:14:20 - 1.9 @@ -5,7 +5,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.2 + 1.0.3-SNAPSHOT org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. @@ -20,6 +20,11 @@ 1.0.2 1.0.2 MAVEN_JCOVERAGE_1_0_2 + + + 1.0.3 + 1.0.3 + HEAD 1.6 +2 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- changes.xml 17 Dec 2003 20:07:32 - 1.5 +++ changes.xml 17 Dec 2003 20:14:20 - 1.6 @@ -6,6 +6,8 @@ + + Apply MAVEN-967. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2003/12/17 12:07:32 Modified:jcoverage/xdocs changes.xml Log: Prepare 1.0.2 release. Revision ChangesPath 1.5 +1 -1 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- changes.xml 24 Oct 2003 15:26:20 - 1.4 +++ changes.xml 17 Dec 2003 20:07:32 - 1.5 @@ -6,7 +6,7 @@ - + Apply MAVEN-967. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: maven-plugins/jcoverage/xdocs changes.xml
evenisse2003/10/24 08:26:20 Modified:jcoverage project.xml jcoverage/src/main/org/apache/maven/jcoveragereport CoverageReport.java jcoverage/xdocs changes.xml Log: Apply MAVEN-967 Revision ChangesPath 1.6 +2 -2 maven-plugins/jcoverage/project.xml Index: project.xml === RCS file: /home/cvs/maven-plugins/jcoverage/project.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- project.xml 10 Oct 2003 19:21:01 - 1.5 +++ project.xml 24 Oct 2003 15:26:20 - 1.6 @@ -5,7 +5,7 @@ 3 maven-jcoverage-plugin Maven JCoverage plugin - 1.0.1 + 1.0.2-SNAPSHOT org.apache.maven.jcoveragereport This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. This plugin provides coverage analysis of your source-code based on the open-source jcoverage tool. @@ -99,4 +99,4 @@ maven-developer-activity-plugin maven-license-plugin - + \ No newline at end of file 1.6 +11 -3 maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.java Index: CoverageReport.java === RCS file: /home/cvs/maven-plugins/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- CoverageReport.java 9 Sep 2003 15:52:57 - 1.5 +++ CoverageReport.java 24 Oct 2003 15:26:20 - 1.6 @@ -492,7 +492,15 @@ { percentValue = percentValue.substring(0, percentValue.length() - 1); } -double rest = 100d - new Double(percentValue).doubleValue(); +double rest = 0; +try +{ +rest = 100d - new Double(percentValue).doubleValue(); +} +catch(NumberFormatException e) +{ +rest = 0; +} StringBuffer sb = new StringBuffer(); sb.append(""); sb.append(""); @@ -530,4 +538,4 @@ percentFormatter = NumberFormat.getPercentInstance(); return percentFormatter.format(percent); } -} +} \ No newline at end of file 1.4 +5 -1 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml === RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- changes.xml 29 Sep 2003 06:18:41 - 1.3 +++ changes.xml 24 Oct 2003 15:26:20 - 1.4 @@ -6,6 +6,11 @@ + + +Apply MAVEN-967. + + Apply MAVEN-846. @@ -30,4 +35,3 @@ - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]