C.94 SvnExportTask

The SvnExportTask exports a Subversion repository to a local directory.

Table C.127: Attributes

NameTypeDescriptionDefaultRequired
revisionStringRevision to use in exportHEADNo
svnpathStringPath to Subversion binary/usr/bin/svnNo
repositoryurlStringURL of SVN repositorynoneYes
usernameStringA username used to connect to the SVN servernoneNo
passwordStringA password used to connect to the SVN servernoneNo
nocacheBooleanConnection credentials will not be cachedfalseNo
todirStringPath to export tononeYes
depthStringLimit operation by depthempty, files, immediates or infinityNo
ignoreexternalsBooleanIgnore externals definitionsfalseNo
trustServerCertBooleanTrust self-signed certificatesfalseNo

C.94.1 Example

<svnexport
   svnpath="/usr/bin/svn"
   username="anony"
   password="anony"
   force="true"
   nocache="true"
   repositoryurl="svn://localhost/project/trunk/"
   todir="/home/user/svnwc"/>
<svnexport
   svnpath="C:/Subversion/bin/svn.exe"
   repositoryurl="svn://localhost/project/trunk/"
   todir="C:/projects/svnwc"/>