我已经编写了下面的构建脚本来从svn进行结账,但它无效。 请帮帮我。
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="test" basedir="." >
<path id="path.svnant">
<pathelement location="/lib/svnant.jar" />
<pathelement location="/lib/svnClientAdapter.jar" />
<pathelement location="/lib/svnjavahl.jar" />
</path>
<target name="checkout-codebase">
<property name="svn.username" value="abs"/>
<property name="svn.password" value="abs123"/>
<property name="svn.url" value="Path-to-svn-trunk-folder"/>
<property name="project.code" value="./Mbuild"/>
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="path.svnant" />
<svnSetting svnkit="true" javahl="false" id="svn.settings" username="${svn.username}" password="${svn.password}"/>
<svn refid="svn.settings">
<checkout url="${svn.url}" revision="HEAD" destpath="${project.code}" />
</svn>
</target>