蚂蚁/詹金斯:此举不支持"安静"属性
问题描述:
我的构建脚本执行:
<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!
答
我解决了它是:
- 在詹金斯设置,以蚂蚁一个工具集的位置
- 现在,在我的构建工作新的选择出现了:蚂蚁版本
我在我的Mac蚂蚁:
ant -v
Apache Ant(TM) version 1.8.4 compiled on May 22 2012