// Get the WC Client
SVNWCClient client = this.getTask().getSvnClient().getWCClient();
// Execute svn info
SVNInfo info = client.doInfo(filePath, SVNRevision.WORKING);
// Get the interesting info data
SVNRevision revision = info.getRevision();
SVNRevision committedRevision = info.getCommittedRevision();
SVNURL url = info.getURL();
SVNURL repositoryRootUrl = info.getRepositoryRootURL();
String author = info.getAuthor();
Date committedDate = info.getCommittedDate();
// Set the computed properties in ant
this.getProject().setProperty(this.revisionProperty, new Long(revision.getNumber()).toString());
this.getProject().setProperty(this.urlProperty, url.toDecodedString());
this.getProject().setProperty(this.repositoryRootUrlProperty, repositoryRootUrl.toDecodedString());