我正在创建以下构建文件,以便从SVN存储库中检索我的项目:
<?xml version="1.0"?>
<project name="svn-test_2" default="checkoutThis" basedir=".">
<property file="build.svn.properties" />
<taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask" />
<target name="checkoutThis">
<svn javahl="false" svnkit="true" username="${svn.username}" password="${svn.password}">
<export srcurl="${svn.repository.url}" destPath="${svnant.destination.url}" force='true'/>
</svn>
</target>
</project>
我正在使用SvnAnt版本1.2,Subversion服务器1.6和Subclipse 1.6。
输出错误:
checkoutThis:
[svn] <Export> started ...
[svn] svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/repos/wiam11g/!svn/vcc/default)
[svn] svn: REPORT request failed on '/repos/wiam11g/!svn/vcc/default'
[svn] svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/repos/wiam11g/!svn/vcc/default)
[svn] svn: REPORT request failed on '/repos/wiam11g/!svn/vcc/default'
[svn] <Export> failed !
BUILD FAILED
我该如何解决这个问题?