ant打包遇到的问题

\build\build.xml:350: Problem: failed to create task or type foreach
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包路径
     
   

 

看 图文教程

参考
Troubleshooting “failed to create task or type foreach” when using
Ant-Contrib Tasks

转载于:https://www.cnblogs.com/nxzblogs/p/11605063.html

你可能感兴趣的:(ant打包遇到的问题)