Maven antrun with sequential ant-contrib fails to run

前端 未结 4 1742
粉色の甜心
粉色の甜心 2021-01-12 10:09

We have a special routine to explode files in a subfolder into extensions, which will be copied and jared into single extension files. For this special approach I wanted to

4条回答
  •  花落未央
    2021-01-12 10:51

    It looks like you're missing the taskdef that's needed to declare the ant-contrib tasks, so that Ant knows about them, hence this part of the error message:

    Problem: failed to create task or type for
    

    (It would perhaps be a little clearer if the failed task - 'for' - were quoted.)

    One way to add the taskdef is to insert it immediately prior to the for loop:

    
        
        
        ...
    

提交回复
热议问题