luntbuild

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

心不动则不痛 提交于 2019-12-08 20:44:35
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? 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

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:/