<project name="sleeptest" default="all" >

    <target name="test1">
        <sleep />
    </target>

    <target name="test2">
        <sleep milliseconds="10"/>
    </target>

    <target name="test3">
        <sleep seconds="2"/>
    </target>

    <target name="test4">
        <sleep hours="1" minutes="-59" seconds="-58"/>
    </target>

    <target name="test5">
        <sleep minutes="-59" seconds="-58"/>
    </target>

    <target name="test6">
        <sleep minutes="-59" seconds="-58" failonerror="no"/>
    </target>

    <target name="all"
        depends="test1,test2,test3,test4,test5" />

</project>
