1、Could not load definitions from resource net/sf/antcontrib/antcontrib.properties
ant的build.xml中使用if标签报错。
解决:在build.xml中加入 <taskdef resource="net/sf/antcontrib/antlib.xml"></taskdef>
并在apache-ant-xx/lib下加入ant-contrib-xx.jar
以上2个操作都需要做
1、Could not load definitions from resource net/sf/antcontrib/antcontrib.properties
ant的build.xml中使用if标签报错。
解决:在build.xml中加入 <taskdef resource="net/sf/antcontrib/antlib.xml"></taskdef>
并在apache-ant-xx/lib下加入ant-contrib-xx.jar
以上2个操作都需要做