<?xml version="1.0" encoding="UTF-8"?>
<!-- WARNING: Eclipse autogenerated file.
              Any modifications will be overwritten.
              To include a user specific buildfile here, simply create one in same
              directory with a comment as first child with this text: eclipse.import
              and export buildfile again. -->
<project name="E" default="build" basedir=".">
    <property environment="env"/>
    <property name="JUNIT_HOME" value="/eclipse-3.1/plugins/org.junit_3.8.1"/>
    <property name="junit.output.dir" value="junit"/>
    <property name="debuglevel" value="source,lines,vars"/>
    <property name="target" value="1.2"/>
    <property name="source" value="1.3"/>
    <path id="E.classpath">
        <pathelement location="bin"/>
        <pathelement location="${JUNIT_HOME}/junit.jar"/>
    </path>
    <target name="init">
        <mkdir dir="bin"/>
    </target>
    <target name="clean">
        <delete dir="bin"/>
    </target>
    <target name="cleanall" depends="clean"/>
    <target name="build" depends="build-subprojects,build-project"/>
    <target name="build-subprojects"/>
    <target name="build-project" depends="init">
        <echo message="${ant.project.name}: ${ant.file}"/>
        <javac destdir="bin" debug="true" debuglevel="${debuglevel}" source="${source}" target="${target}">
            <src path="src"/>
            <classpath refid="E.classpath"/>
        </javac>
        <javac destdir="bin" debug="true" debuglevel="${debuglevel}" source="${source}" target="${target}">
            <src path="test"/>
            <classpath refid="E.classpath"/>
        </javac>
    </target>
    <target name="MyTest">
        <mkdir dir="junit"/>
        <junit fork="yes" printsummary="withOutAndErr">
            <formatter type="xml"/>
            <test name="MyTest" todir="${junit.output.dir}"/>
            <classpath refid="E.classpath"/>
        </junit>
    </target>
    <target name="MyMain">
        <java fork="yes" classname="e.E" failonerror="true">
            <classpath refid="E.classpath"/>
        </java>
    </target>
    <target name="junitreport">
        <junitreport todir="${junit.output.dir}">
            <fileset dir="${junit.output.dir}">
                <include name="TEST-*.xml"/>
            </fileset>
            <report format="frames" todir="junit"/>
        </junitreport>
    </target>
</project>