ant build - unzip doesnt support the nested “cutdirsmapper” element

拈花ヽ惹草 提交于 2019-12-12 02:13:58

问题


I'm totally new to this and really need your help. i tried to build git distribution using "ant" and got an error

path~/build.xml: unzip doesn't support the nested "cutdirsmapper" element

i have no idea how to fix this. my system "Centos" 64bit


回答1:


The <cutsdirmapper> element was added in Ant 1.8.2 according to the documentation, but you are presumably using an older version of Ant (try the ant -version command to see). You can download/use a newer version of Ant, which is probably your easiest solution if you're not familiar with Ant scripting, or you can change the build script to use a different mapper. For example, the <flatten>, <glob>, or <regexpmapper> might do what you want.



来源:https://stackoverflow.com/questions/31823958/ant-build-unzip-doesnt-support-the-nested-cutdirsmapper-element

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!