Apache ant does not recognize 'for' task/macro, although I have added ant-contrib via taskdef

前端 未结 2 1734
深忆病人
深忆病人 2020-12-30 04:32

I am getting following while doing ant build:

Build\\build.xml:247: Problem: failed to create task or type
for
Cause: The name is undefined.
Action: Check th         


        
2条回答
  •  情话喂你
    2020-12-30 05:00

    Ant needs to be aware of the the dependency. The following is a more succinct version of David W's answer. Add the equivalent of the following to your ant project:

    
    
    

提交回复
热议问题