Troubleshooting “failed to create task or type foreach” when using

前端 未结 5 1771
无人共我
无人共我 2020-12-17 15:48

I\'m trying to use the foreach loop in an Ant script but I get the message: Problem: failed to create task or type foreach Cause: The name is undefined.

I don\'t und

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-17 16:10

    I can't find the foreach task in the Ant 1.8 manual - where is it? I only know the task from ant-contrib, and it requires to specify the 'target' attribute: http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html

提交回复
热议问题