<project name="MailJava" default="all">
    <target name="setProps" unless="setProps" >
        <property environment="env"/>
        <property name="next_root" value="${env.NEXT_ROOT}"/>
        <property name="fw_install_dir" value="../../dist/Frameworks"/>

    </target>

    <target name="init" depends="setProps" description="initialize properties">
        <tstamp/>
        <property name="install_framework" value="${fw_install_dir}/${ant.project.name}.framework"/>
    </target>

    <target name="clean" depends="init" description="remove derived files and directories">
        <delete dir="${install_framework}"/>
    </target>

    <target name="package" depends="init" description="package jars as framework">
        <taskdef name="woframework" classname="org.objectstyle.woproject.ant.WOFramework"/>
        <woframework name="${ant.project.name}" destDir="${fw_install_dir}">
            <lib dir="${basedir}">
                <include name="*.jar"/>
            </lib>
        </woframework>
    </target>

    <target name="all" depends="clean,package">
    </target>

</project>