<?
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"/>
<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"/>
<classpath >
<pathelement location="${bin_dir}"/>
</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">
<format type="
xml"/>
</current>
</clover-report>
</target>
</project>