<?
xml version="1.0"?>
<project name="Clover" default="" basedir=".">
<description>Build file</description>
<property name="src_dir" location="./src"/>
<property name="srcTest_dir" location="./srcTest"/>
<property name="bin_dir" location="./bin"/>
<property name="clover.jar" location="C:/Programme/Clover/lib/clover.jar"/>
<taskdef resource="cloverlib.xml" classpath="${clover.jar}"/>
<target name="CloverSetup">
<clover-setup initstring="CloverDB/clover_coverage.db"/>
</target>
<target name="Cleanup">
<delete verbose="true">
<fileset dir="${bin_dir}">
<include name="*.class"/>
</fileset>
</delete>
</target>
<target name="BuildProject">
<mkdir dir="${bin_dir}"/>
<javac destdir="${bin_dir}" verbose="true">
<src>
<pathelement location="${src_dir}"/>
<pathelement location="${srcTest_dir}"/>
</src>
</javac>
</target>
<target name="UnitTests">
<junit printSummary="true" showOutput="true">
<!-- <formatter type="brief" usefile="false"/> -->
<formatter type="
xml"/>
<classpath >
<pathelement location="${bin_dir}"/>
<pathelement path="${clover.jar}"/>
</classpath>
<batchtest>
<fileset dir="${bin_dir}">
<include name="*Test.class"/>
</fileset>
</batchtest>
</junit>
</target>
<target name="CloverReportHTML">
<clover-report>
<current outfile="report_html">
<format type="
html"/>
</current>
</clover-report>
</target>
<target name="CloverReportXML">
<clover-report>
<current outfile="report_xml\report.xml">
<!-- <current outfile="C:\Dokumente und Einstellungen\mp\bamboo-home\
xml-data\build-dir\
FB-TD-JOB1\report.xml"> -->
<format type="
xml"/>
</current>
</clover-report>
</target>
</project>