How can I get the revision number into an Ant prop

2019-06-01 01:00发布

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条回答
叼着烟拽天下
2楼-- · 2019-06-01 01:29

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.

查看更多
登录 后发表回答