58 |
58 |
59 <target name="prepare-to-be-instrumented" depends="compile" description="Prepares to_be_instrumented dir"> |
59 <target name="prepare-to-be-instrumented" depends="compile" description="Prepares to_be_instrumented dir"> |
60 <copy todir="${build.dir}/to_be_instrumented"> |
60 <copy todir="${build.dir}/to_be_instrumented"> |
61 <fileset dir="${build.classes.dir}"> |
61 <fileset dir="${build.classes.dir}"> |
62 <include name="**/*.class"/> |
62 <include name="**/*.class"/> |
63 <include name="**/*.clazz"/> |
|
64 </fileset> |
63 </fileset> |
65 </copy> |
64 </copy> |
66 |
|
67 <move todir="${build.dir}/to_be_instrumented/jdk/nashorn/internal/objects"> |
|
68 <fileset dir="${build.dir}/to_be_instrumented/jdk/nashorn/internal/objects"> |
|
69 <include name="**/*.clazz"/> |
|
70 </fileset> |
|
71 <mapper type="glob" from="*.clazz" to="*.class"/> |
|
72 </move> |
|
73 </target> |
65 </target> |
74 |
66 |
75 <target name="generate-cc-template" depends="prepare-to-be-instrumented" description="Generates code coverage template for dynamic CC" if="cc.generate.template"> |
67 <target name="generate-cc-template" depends="prepare-to-be-instrumented" description="Generates code coverage template for dynamic CC" if="cc.generate.template"> |
76 <property name="cc.instrumented.path" location="${build.dir}/to_be_instrumented"/> |
68 <property name="cc.instrumented.path" location="${build.dir}/to_be_instrumented"/> |
77 <java classname="com.sun.tdk.jcov.TmplGen"> |
69 <java classname="com.sun.tdk.jcov.TmplGen"> |