[jbosstools-commits] JBoss Tools SVN: r35338 - trunk/build/parent.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Oct 4 17:59:49 EDT 2011


Author: dgolovin
Date: 2011-10-04 17:59:49 -0400 (Tue, 04 Oct 2011)
New Revision: 35338

Modified:
   trunk/build/parent/pom.xml
Log:
fix for emma instrumentation. instead of instrumenting plugin into plugins/target dir, it now does it into test's target/instrumented classes dir, to be able to remove instrumented classes by clean goal.

Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml	2011-10-04 21:57:44 UTC (rev 35337)
+++ trunk/build/parent/pom.xml	2011-10-04 21:59:49 UTC (rev 35338)
@@ -604,21 +604,21 @@
 											<then>
 												<echo>Process emma report...</echo>
 												<for list="${emma.instrument.bundles}" param="bundle">
-												  <sequential>
-												  	<property name="@{bundle}-classes" location="${project.build.directory}/../../../plugins/@{bundle}" /> 
-												    <echo>instruments ${@{bundle}-classes}</echo>
-												    <emma enabled="true"> 
-												    	<instr metadatafile="${project.build.directory}/emma/@{bundle}-coverage.em" 
-															mode="copy" outdir="${project.build.directory}/../../../plugins/@{bundle}/target/instrumented-classes"> 
-															<instrpath>
-		          												<fileset dir="${@{bundle}-classes}" includes="*.jar"/>
-		          												<fileset dir="${@{bundle}-classes}/target" includes="*.jar"/>
-		        											</instrpath>
-		        										</instr>
-													</emma>
-												  </sequential>
+													<sequential>
+														<property name="@{bundle}-classes"
+															location="${project.build.directory}/../../../plugins/@{bundle}" />
+														<echo>instruments ${@{bundle}-classes}</echo>
+														<emma enabled="true">
+															<instr metadatafile="${project.build.directory}/emma/@{bundle}-coverage.em"
+																mode="copy" outdir="${project.build.directory}/instrumented-classes/@{bundle}">
+																<instrpath>
+																	<fileset dir="${@{bundle}-classes}" includes="*.jar" />
+																	<fileset dir="${@{bundle}-classes}/target" includes="*.jar" />
+																</instrpath>
+															</instr>
+														</emma>
+													</sequential>
 												</for>
-												
 												<emma enabled="true">
 													<report>
 														<infileset dir="${project.build.directory}/emma"



More information about the jbosstools-commits mailing list