<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结帐时,它运行得很好,有什么想法吗?
答案 0 :(得分:1)
原来是一个代理问题(我没有设置),感谢Alex K的精彩提醒。