I have done deployment using ANT and I don't see much challenge in doing that. I would like know whether it is possible to 1. Retrieve components from Salesforce org hosted on SVN Repo and 2. Deploy those components to another org. First part is where I'm stuck. I have gone through this article but there is no reference to Salesforce in it. I have started using ANT only after having learnt Salesforce so I do not know how it works with other languages/ platforms.
If you have worked on building such scripts, please guide me. Any reference article or even pseudo code of what needs to be done in build.xml or build.properties would be a great help.
Suppose I have installed ANT where SVN is hosted. In this case I have all metadata locally available. So in the retrieveUnpackaged command instead of using salesforce credential to login to the org and retrieve components I want to copy the subset of data (described in package.xml) from overall data to the retrieveUnpackaged folder. Is it achievable?