blob: 4eb31e6483f619be12341d722783a1a9bb719a74 (
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
|
--- build.xml 2006-09-14 22:30:35.000000000 +0200
+++ /home/fordfrog/tmp/asm/asm-2.2.3/build.xml 2006-09-14 22:26:19.000000000 +0200
@@ -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 ========== -->
<!-- =================================== -->
|