O'Reilly logo

Agile Java-Entwicklung in der Praxis by Michael Hüttermann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automatisierte Nutzung via Ant

Ein typisches Ant-Skript, das EMMA nutzt, ist in Beispiel 10-1 mit Ant dargestellt.

Beispiel 10-1. EMMA mit Ant

<project name="Agile" default="all"> <property name="root" value="/home/michael/junit"/> <property name="test.home" value="${root}/test"/> <property name="emma.dir" value="${root}/emma/lib"/> <path id="emma.lib"> <pathelement location="${emma.dir}/emma.jar"/> <pathelement location="${emma.dir}/emma_ant.jar"/> </path> <taskdef resource="emma_ant.properties" classpathref="emma.lib"/> <target name="all" depends="clean,compile-src,compile-test,instr,test,report-instr,report"/> <target name="clean"> <delete dir="${test.home}/classes"/> <delete dir="${test.home}/report"/> <delete dir="${test.home}/coverage"/> <mkdir ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required