<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?
Turned out to be a proxy problem(i didn't set), Thank Alex K for his wonderful reminder.