How can I get the revision number into an Ant property in Luntbuild?

笑着哭i 提交于 2019-12-08 08:16:50

问题


I'm sure this must be possible:

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.

Does anyone know what it is?


回答1:


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.



来源:https://stackoverflow.com/questions/1065130/how-can-i-get-the-revision-number-into-an-ant-property-in-luntbuild

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!