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 <presetdef>/<macrodef> declarations have taken place.


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

猜你喜欢

转载自blog.csdn.net/zhang168/article/details/77996098
今日推荐