我怎样才能版本号到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)投入是从蚂蚁访问时,我建立的Luntbuild运行的属性。必须有一个OGNL前pression,我可以添加到生成属性框的配置页上为我的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任务获得直接在Ant Subversion的版本号脚本可能是一个有效的选择。
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屋!
查看全文