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

1.4k Views Asked by At

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

There are 1 best solutions below

2
On BEST ANSWER

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.