C.102 SvnPropgetTask

The SvnPropgetTask gets a property on files, dirs, or revisions from the working copy.

Table C.135: Attributes

NameTypeDescriptionDefaultRequired
svnpathStringPath to Subversion binary/usr/bin/svnNo
repositoryurlStringURL of remote repositorynoneYes
todirStringPath to the checked out projectnoneYes
usernameStringA username used to connect to the SVN servernoneNo
passwordStringA password used to connect to the SVN servernoneNo
propertynameStringName of property to use.svn.propgetNo
svnpropertynameStringThe svn property to get.noneYes
fromdirStringThr dir the properties are from.noneYes

C.102.1 Example

<svnpropget
                svnpath="/usr/bin/svn"
                username="anony"
                password="anony"
                repositoryurl="http://svn.phing.info/tags/2.4.2"
                fromdir="/home/user/svnwc"
                svnpropertyname="propertyname"
                propertyname="propget"/>