Author: dgolovin
Date: 2010-07-13 20:02:21 -0400 (Tue, 13 Jul 2010)
New Revision: 23394
Modified:
trunk/parent-pom.xml
trunk/pom.xml
Log:
coverage report generation added at the end of build, to have it in on file and let hudson
record it
Modified: trunk/parent-pom.xml
===================================================================
--- trunk/parent-pom.xml 2010-07-13 23:19:51 UTC (rev 23393)
+++ trunk/parent-pom.xml 2010-07-14 00:02:21 UTC (rev 23394)
@@ -558,6 +558,7 @@
<infileset dir="${project.build.directory}/emma"
includes="*.es,*.em" />
<txt outfile="${project.build.directory}/emma/coverage.txt"
/>
<xml outfile="${project.build.directory}/emma/coverage.xml"
/>
+ <html outfile="${project.build.directory}/emma/coverage.html"
/>
</report>
</emma>
<loadfile property="emma.txt"
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2010-07-13 23:19:51 UTC (rev 23393)
+++ trunk/pom.xml 2010-07-14 00:02:21 UTC (rev 23394)
@@ -44,9 +44,22 @@
<module>jbpm</module>
<!-- NOTE: To build drools, must first bootstrap with ant script: cd drools;
ant -q -->
- <module>drools</module>
+ <!--module>drools</module-->
<module>site</module>
</modules>
+<profiles>
+<profile>
+ <id>emma-coverage</id>
+ <activation>
+ <property>
+ <name>coverage</name>
+ </property>
+ </activation>
+ <modules>
+ <module>build/reports/emma-coverage</module>
+ </modules>
+</profile>
+</profiles>
</project>