svnant does not support svn version 1.7. what to do?

Eugeny89 picture Eugeny89 · Jul 19, 2012 · Viewed 14.7k times · Source

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!

Answer

oers picture oers · Jul 19, 2012

You can use the command line version of svn.

  1. Download and Install it on your machine
  2. Include it in your Path (so that you can execute svn from the command line)
  3. Change the svnsettings to

    <svnSetting
        svnkit="false"
        javahl="false"
        id="svn.settings"/>
    

svnant will then use the command line version to do all svn things.