0
build.xml文件是這樣的:SVN:PROPFIND請求失敗
<?xml version="1.0"?>
<project name="AUTO_BUILD">
<property environment="env"/>
<path id="svnant.classpath">
<fileset dir="C:\Program Files\Java\apache-ant-1.8.1/lib">
<include name="**/*.jar"/>
</fileset>
</path>
<taskdef resource="svntask.properties" classpathref="svnant.classpath"/>
<target name="checkout">
<svn username="username" password="password">
<checkout url="Repo-URL" destPath="C:\Program Files\Java\apache-ant-1.8.1\test"/>
</svn>
</target>
</project>
我加入svnant.jar,svnClientAdapter.jar,svnjavahl.jar和commons-郎2.0.jar到ANT_MOME \ lib中。 現在我從Windows XP的命令提示符下運行結賬目標:
C:\Program Files\Java\apache-ant-1.8.1>ant checkout
獲取以下錯誤:
Buildfile: C:\Program Files\Java\apache-ant-1.8.1\build.xml
checkout:
[svn] Using command line interface
Svn : Checking out a working copy from a repository :
co -r HEAD https://c..../trunk C:\Program Files\Java\apache-ant-1.8.1 --username 6044
28101 --password ******* --non-interactive
svn: PROPFIND request failed on '/svn/asia-pac-financials/trunk'
svn: PROPFIND of '/svn.../trunk': Could not resolve hostname `col.com':
The requested name is valid and was found in the database,
but it does not have the correct associated data being resolved for. (https://col.com)
BUILD FAILED
C:\Program Files\Java\apache-ant-1.8.1\build.xml:16: Can't checkout
Total time: 1 second
請幫助。