0

我正在创建以下构建文件,以便从 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

我怎样才能解决这个问题?

4

0 回答 0