linux 下执行ant遇到的问题

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 propertyregex
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.


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

你可能感兴趣的:(linux 下执行ant遇到的问题)