]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8105 Cleaned up and fixed Emma targets
authorArtur Signell <artur.signell@itmill.com>
Thu, 12 Jan 2012 08:05:53 +0000 (08:05 +0000)
committerArtur Signell <artur.signell@itmill.com>
Thu, 12 Jan 2012 08:05:53 +0000 (08:05 +0000)
svn changeset:22597/svn branch:6.7

build/build.xml

index c49af9e9526397c4cdc0c842d5c0858d291303bc..118829873add276c6698cfab7033c1d494481628 100644 (file)
@@ -65,7 +65,8 @@
                <property name="result-classes-junit" value="${result-path}/classes/junit"/>
                <property name="result-classes-testbench" value="${result-path}/classes/testbench"/>
                <!-- Folder where Emma instrumented classes are placed (if Emma is used)-->
-               <property name="result-classes-emma-core" value="${result-path}/classes/emma-core"/>
+               <property name="result-classes-core-for-emma-war" value="${result-path}/classes/emma-war"/>
+               <property name="result-classes-core-for-emma-junit" value="${result-path}/classes/emma-junit"/>
 
        </target>
     <target name="clean-all" depends="clean-result">
                
                <emma enabled="${emma.enabled}" >
                        <instr instrpath="${result-classes-core}"
-                               destdir="${result-classes-emma-core}"
+                               destdir="${result-classes-core-for-emma-war}"
                                mode="copy"
                                metadatafile="${result-path}/war.es"
                                merge="false"
                 <attribute name="Bundle-Version" value="${version.full}" />
             </manifest>
             <!-- Include any instrumented class files before the normal classes -->
-            <fileset dir="${result-classes-emma-core}"/>
+            <fileset dir="${result-classes-core-for-emma-war}"/>
             <fileset dir="${result-classes-core}"/>
             <!-- add sources -->
             <fileset dir="${result-src-core}"/>
                </emma>                 
         <junit printsummary="yes"> 
             <classpath> 
-                <pathelement path="${result-path}/junit_emma_classes" />
+                <pathelement path="${result-classes-core-for-emma-junit}" />
                 <pathelement path="${result-classes-core}" />
                 <pathelement path="${result-classes-junit}" />
                <path refid="emma.lib" />