NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
# C.94 SvnExportTask The `SvnExportTask` exports a Subversion repository to a local directory. Table C.127:聽Attributes NameTypeDescriptionDefaultRequired`revision``String`Revision to use in exportHEADNo`svnpath``String`Path to Subversion binary/usr/bin/svnNo`repositoryurl``String`URL of SVN repositorynoneYes`username``String`A username used to connect to the SVN servernoneNo`password``String`A password used to connect to the SVN servernoneNo`nocache``Boolean`Connection credentials will not be cached`false`No`todir``String`Path to export tononeYes`depth``String`Limit operation by depth`empty`, `files`, `immediates` or `infinity`No`ignoreexternals``Boolean`Ignore externals definitions`false`No`trustServerCert``Boolean`Trust self-signed certificates`false`No 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"/> ```