linux 下执行ant遇到的问题

来源:互联网 发布:mysql删除唯一约束 编辑:程序博客网 时间:2024/05/29 10:22
version:  [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.BUILD FAILED/data/server/build.xml:34: Problem: failed to create task or type propertyregexCause: The name is undefined.Action: Check the spelling.Action: Check that any custom tasks/types have been declared.Action: Check that any <presetdef>/<macrodef> declarations have taken place.


解决方案就是下载一个 ant-contrib.jar 放到ant的lib目录下,然后就O了