I'm using tortoise svn, and recently I updated to version 1.7. Still, in our build system (ant script) we use svnant lib (to get current revision number, we use it as version number). So can no longer build the project as svnant does not support 1.7 version of svn. How can I solve this problem?
Thank you in advance!
The latest version of svnkit (pure Java lib) is compatible with Subversion 1.7. http://svnkit.com/download.php
You can download the standalone version and copy the libs from folder lib to your classpath. You need at least the last 5 jars.
svnant has now been updated in the source to support SVN 1.7, but you'll need to build it yourself.
In a command prompt:
Check out svnant into a local directory (username guest, empty password):
Build:
The inline properties such as svnkit="false" are now deprecated, so you will need to update to use svnSetting as described in the answer above.
Hope this helps.
You can use the command line version of svn.
Change the svnsettings to
svnant
will then use the command line version to do all svn things.An alternative to svnant is svntask
I have just recently forked it from GoogleCode and updated it to work with svn 1.7.
It doesn't contain as many commands as svnant but contains the basics such as getting the version number.