开发者

ANT waiting for file creation

is it possible to configure the ANT to pau开发者_如何学Pythonse the building process untill a file is created (with relative timeout)?


<waitfor maxwait="30" maxwaitunit="second">
    <available file="myfile"/>
</waitfor>

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


Use the waitfor task.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜