蚂蚁/詹金斯:此举不支持"安静"属性 [英] ant/Jenkins: move doesn't support the "quiet" attribute

查看:166
本文介绍了蚂蚁/詹金斯:此举不支持"安静"属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的构建脚本执行:

<move todir="gen" overwrite="true" quiet="true">
        <fileset dir="gen">
            <include name="**/BuildConfig.java.new"/>
        </fileset>
        <globmapper from="*.java.new" to="*.java"/>
</move>

我得到的错误:

move doesn't support the "quiet" attribute

我有我的iMac电脑安装的蚂蚁1.8.4。我在詹金斯蚂蚁插件是1.2。詹金斯版本。 1.505。
我曾尝试开始时詹金斯改变路径,因此它包含了我的命令行的蚂蚁。
然而,似乎詹金斯不支持蚂蚁1.8.3?蚂蚁1.8.3是版本里的移动安静加入。

I have ant 1.8.4 installed on my iMac. My ant plugin in Jenkins is 1.2. Jenkins ver. 1.505. I have tried to change the PATH when starting Jenkins, so it includes my command line ant. However it seems that Jenkins does not support ant 1.8.3? ant 1.8.3 is the version where the "move quiet" was added.

任何思考如何解决呢?难道是命令行蚂蚁或蚂蚁插件或我的构建脚本有关吗?
谢谢!

Any thoughts how I can solve this? Is it related to command line ant or plugin ant or my build script? Thanks!

推荐答案

我解决了它是:


  1. 在詹金斯设置,以蚂蚁一个工具集的位置

  2. 现在,在我的构建工作新的选择出现了:蚂蚁版本

我在我的Mac蚂蚁:

ant -v
Apache Ant(TM) version 1.8.4 compiled on May 22 2012

这篇关于蚂蚁/詹金斯:此举不支持&QUOT;安静&QUOT;属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆