I have a unique requirement in my project for which I'm busting my head for the last few days. I need to be able to checkout code from SVN using ANT tool. After going through some documents over the interweb (very hard to get proper documentation though) I was able to checkout code using SVNAnt extension of ANT. But here is the catch, I need to be able to checkout only specific version of the code from a desired path. As of now my checkout tag looks like this:
<target name="checkoutLatest">
<svn username="${svnant.repository.user}" password="${svnant.repository.passwd}">
<checkout url="${svnant.latest.url}" revision="HEAD" destPath="src_dev" />
</svn>
This although pulls everything under the svnant.latest.url path, but I am unaware how to checkout just some specific versions with this method. I explored the checkout.class from the svnant.jar file, but couldn't find anything there as well. Any ideas??
Thanks in advance!