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

后端 未结 4 479
迷失自我
迷失自我 2021-01-17 15:15

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 versi

4条回答
  •  独厮守ぢ
    2021-01-17 16:01

    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:

    1. Check out svnant into a local directory (username guest, empty password):

      svn co http://subclipse.tigris.org/svn/subclipse/trunk/svnant/ svnant --username=guest

    2. CD into the root svnant directory
    3. Build:

      ant makeDistrib

    4. Copy the built files from build\distrib\lib into your ANT lib folder (probably C:\Program Files\Ant\lib or C:\Program Files (x86)\Ant\lib)

    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.

提交回复
热议问题