svnant 不支持 svn 1.7 版.该怎么办? [英] svnant does not support svn version 1.7. what to do?

查看:27
本文介绍了svnant 不支持 svn 1.7 版.该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 tortoise svn,最近我更新到了 1.7 版.尽管如此,在我们的构建系统(ant 脚本)中,我们使用 svnant lib(为了获取当前修订号,我们将其用作版本号).因此无法再构建项目,因为 svnant 不支持 1.7 版本的 svn.我该如何解决这个问题?

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?

先谢谢你!

推荐答案

可以使用svn的命令行版本.

You can use the command line version of svn.

  1. 下载并将其安装到您的机器上
  2. 将它包含在您的路径中(以便您可以从命令行执行 svn)
  3. 将 svnsettings 更改为

  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 然后将使用命令行版本来做所有 svn 的事情.

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

这篇关于svnant 不支持 svn 1.7 版.该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆