ANT等待文件创建

Cla*_*aus 10 java ant build wait

是否可以配置ANT暂停构建过程,直到创建文件(具有相对超时)?

Chr*_*her 17

<waitfor maxwait="30" maxwaitunit="second">
    <available file="myfile"/>
</waitfor>
Run Code Online (Sandbox Code Playgroud)

http://ant.apache.org/manual/Tasks/waitfor.html