如何在Luntbuild中获取修订号到Ant属性? [英] How can I get the revision number into an Ant property in Luntbuild?
本文介绍了如何在Luntbuild中获取修订号到Ant属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我确定这必须是可能的:
I'm sure this must be possible:
我想要修订号(从Subversion)放入一个属性,可以从Ant可以访问我的构建运行在Luntbuild。必须有一个OGNL表达式,我可以添加到我的Ant构建器的配置页面上的构建属性框。
I want to have the revision number (from Subversion) put into a property that is accessible from Ant when my build runs in Luntbuild. There must be an OGNL expression that I can add to the Build Properties box on the configuration page for my Ant builder.
有人知道是什么吗?
推荐答案
您可能会发现使用 SvnAnt 或 svntask Ant任务直接获取Subversion版本号在您的Ant脚本中可能是一个有效的替代。
You might find using either the SvnAnt or svntask Ant tasks to get the Subversion revision number directly in your Ant script might be a valid alternative.
这篇关于如何在Luntbuild中获取修订号到Ant属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文