ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Charbonneau <>
Subject extracting project revision number
Date Fri, 29 Apr 2005 15:19:05 GMT
I would like to extract the Subversion build number of my project and 
use this to name my release files (tar.gz).  What I thought of doing is 
to put a Subversion tag in my file.  Something like the 

build.revision="$Rev: 24 $"

That way, the build number will be in synch with my Subversion 
repository.  But my question is:  How do I extract this build number to 
use it in my build.xml tasks? (without the leading '$Rev' and trailing 
'$' characters).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message