使用 Ant 错误从 Google 代码检出项目
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" />
...
<target name="main" depends="clean">
<svn javahl='false' >
<checkout url="${gae_api_source}" destPath="${localDir}" recurse="true">
</checkout>
</svn>
</target>
我使用上面的 SVN ant 脚本来签出 GAE 源,但导致错误:
[svn] <Checkout> started ...
[svn] svn: connection refused by the server
[svn] svn: OPTIONS request failed on '/svn/trunk/java/src/main/com/google/appengine/api'
[svn] svn: connection refused by the server
[svn] svn: OPTIONS request failed on '/svn/trunk/java/src/main/com/google/appengine/api'
[svn] Connection timed out: connect
[svn] <Checkout> failed !
我使用 SvnAnt 1.3.1、Ant 1.8.1,当我从 TortoiseSvn 或 Eclipse 签出时,它工作得很好,有什么想法吗?
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" />
...
<target name="main" depends="clean">
<svn javahl='false' >
<checkout url="${gae_api_source}" destPath="${localDir}" recurse="true">
</checkout>
</svn>
</target>
I use the above SVN ant script to checkout GAE source, but lead to error:
[svn] <Checkout> started ...
[svn] svn: connection refused by the server
[svn] svn: OPTIONS request failed on '/svn/trunk/java/src/main/com/google/appengine/api'
[svn] svn: connection refused by the server
[svn] svn: OPTIONS request failed on '/svn/trunk/java/src/main/com/google/appengine/api'
[svn] Connection timed out: connect
[svn] <Checkout> failed !
I use SvnAnt 1.3.1, Ant 1.8.1, When i checkout from the TortoiseSvn or Eclipse it works just fine, Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
原来是代理问题(我没有设置),感谢Alex K的精彩提醒。
Turned out to be a proxy problem(i didn't set), Thank Alex K for his wonderful reminder.