<!-- Provide path to JDK which you want to run the IDE with -->
<property name="jdkhome" value="e:/jdks/jdk1.5.0_04"/> <!-- Define what build of NetBeans you want to instrument -->
<property name="netbeans.dir" location="${nb_all}/nbbuild/netbeans"/> <!-- Provide filter for included packages -->
<property name="included.packages"
value="org.netbeans.*,org.openide.*,org.openidex.*,org.apache.tools.ant.module.*,javax.jmi.*"/> <!-- File for writing EMMA runtime coverage data -->
<property name="coverage.runtime.file" value="coverage.ec"/> <!-- Provide additional IDE arguments -->
<property name="ide.args"
value="--cp:p ${emma.dir}/emma.jar -J-Dnetbeans.security.nocheck=true -J-Demma.coverage.out.file=${coverage.data.dir}/${coverage.runtime.file}"/> <!-- File for logging instrumentation details; not defined == no logging -->
<property name="emma.logfile" value="instrumented.txt"/>
<!-- ===== End of User defined properties ===== -->
<!-- We must instrument only jars containing selected packages !!! -->
<target name="create-instrpath" depends="copy-ide">
<select-jars pathrefprop="instr.path.id" inclpackages="${included.packages}" logfile="${emma.logfile}">
<fileset dir="${netbeans.instr.dir}">
<include name="**/*.jar"/>
</fileset>
</select-jars>
</target>
<!-- Creates own copy of IDE for coverage, because
instrumented IDE cannot be used for anything else -->
<target name="copy-ide">
<mkdir dir="${netbeans.instr.dir}"/>
<copy todir="${netbeans.instr.dir}">
<fileset dir="${netbeans.dir}"/>
</copy>
</target>
<target name="pre-instrument"> <!-- Following is needed because EMMA processes also class archives that arereachablebyClass-Pathentryinmanifestfileandthisparticular jarissignedandthereforecannotbeprocessedandrejarred.
If there is another signed jar being processed add it here! -->
<copy file="${netbeans.instr.dir}/platform/modules/ext/jh-2.0_02.jar"
tofile="${netbeans.instr.dir}/platform/modules/ext/jh-2.0_02.jar_orig"/>
</target>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.