且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何检查目录中删除它,使用ANT之前的存在?

更新时间:2022-06-22 23:57:56

尼斯和清洁解决方案如下:
蚂蚁contribs.jar

Nice and clean solution below: Using ant-contribs.jar

在使用此解决方案,务必把下面一行顶部

When using this solution, be sure to put the following line on top

<!-- For <if> statements -->
<taskdef resource="net/sf/antcontrib/antlib.xml" />