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?
来源:https://stackoverflow.com/questions/1065130/how-can-i-get-the-revision-number-into-an-ant-property-in-luntbuild