【问题标题】:ant build - unzip doesnt support the nested "cutdirsmapper" elementant build - unzip 不支持嵌套的“citymapper”元素
【发布时间】:2015-10-27 17:23:14
【问题描述】:

我对此完全陌生,真的需要你的帮助。我尝试使用“ant”构建 git 分发,但出现错误

path~/build.xml: unzip 不支持嵌套的“cutdirsmapper” 元素

我不知道如何解决这个问题。 我的系统“Centos”64位

【问题讨论】:

标签: git ant centos unzip


【解决方案1】:

<cutsdirmapper> 元素是根据documentation 在 Ant 1.8.2 中添加的,但您可能使用的是旧版本的 Ant(请尝试使用 ant -version 命令查看)。您可以下载/使用较新版本的 Ant,如果您不熟悉 Ant 脚本,这可能是您最简单的解决方案,或者您可以更改构建脚本以使用不同的映射器。例如,<flatten><glob><regexpmapper> 可能会满足您的需求。

【讨论】:

  • 是的。我的版本是 1.7
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2015-10-21
  • 1970-01-01
  • 2011-08-22
  • 2016-12-16
  • 2012-05-13
  • 1970-01-01
  • 2016-12-30
相关资源
最近更新 更多