You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.4 KiB
66 lines
2.4 KiB
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 ========== -->
|
|
<!-- =================================== -->
|