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

前端 未结 5 1770
无人共我
无人共我 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:27

    It is a standard task that would be part of the latest version of Ant (1.8).

    No, it's not. At least I can't find it in the list of core and optional tasks in the ant manual. It seems to be part of the ant-contrib project and thus needs to be installed separately.

提交回复
热议问题