Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将 ANT 配置为暂停构建过程,直到创建文件(具有相对超时)?
<waitfor maxwait="30" maxwaitunit="second"> <available file="myfile"/> </waitfor>
见http://ant.apache.org/manual/Tasks/waitfor.html
使用waitfor任务。