summaryrefslogtreecommitdiff
blob: b2c4a7e67190d91d35fdaf8c72d0a559307e1273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
diff -Nur asm-2.2.3/build.xml asm-2.2.3_patched/build.xml
--- asm-2.2.3/build.xml	2006-07-05 18:32:20.000000000 +0300
+++ asm-2.2.3_patched/build.xml	2008-09-25 23:12:06.000000000 +0300
@@ -96,17 +96,6 @@
       <pathelement location="${out.build}"/>
     </path>
 
-    <path id="cobertura.classpath">
-      <fileset dir="test/lib">
-        <include name="cobertura-1.7.jar"/>
-        <include name="log4j-1.2.9.jar"/>
-        <include name="jakarta-oro-2.0.8.jar"/>
-        <include name="asm-2.1.jar"/>
-        <include name="ccl.jar"/>
-        <include name="javancss.jar"/>
-      </fileset>
-    </path>
-
         <taskdef name="multipleAnt"
              classname="org.objectweb.util.ant.MultipleAnt"
              classpath="${objectweb.ant.tasks.path}"/>
@@ -118,8 +107,6 @@
     <taskdef name="multipleCopy"
              classname="org.objectweb.util.ant.MultipleCopy"
              classpath="${objectweb.ant.tasks.path}"/>
-
-    <taskdef classpathref="cobertura.classpath" resource="tasks.properties"/>
   </target>
 
   <!-- =================================== -->
@@ -180,34 +167,6 @@
     </junitreport>
   </target>
 
-  <target name="coverage" depends="compile">
-        <delete file="cobertura.ser"/>
-        <delete dir="${out.instr}"/>
-    <cobertura-instrument todir="${out.instr}">
-      <ignore regex="org.apache.log4j.*"/>
-      <fileset dir="${out.build}/tmp">
-        <include name="**/*.class"/>
-        <exclude name="**/optimizer/*.class" />
-        <exclude name="**/*Test*.class" />
-      </fileset>
-    </cobertura-instrument>
-    <copy todir="${out.instr}" preservelastmodified="yes">
-      <fileset dir="${out.build}/tmp"/>
-    </copy>
-        <property name="classes" value="${out.instr}"/>
-    <ant antfile="${test}/build.xml" target="test" inheritRefs="true"/>         
-  </target>
-
-  <target name="coverage.report" depends="init">
-    <cobertura-report destdir="${out}/coverage" srcdir="${src}" format="xml"/>
-    <cobertura-report destdir="${out}/coverage">
-      <fileset dir="${src}">
-        <include name="**/*.java"/>
-        <exclude name="**/asm/optimizer/**/*.java"/>
-      </fileset>
-    </cobertura-report>
-  </target>
-
   <!-- =================================== -->
   <!-- ==========      DIST     ========== -->
   <!-- =================================== -->