We now have a solution to update each of our customer sites on our devserver. We installed ANT on the server to the default directories and then called the undocumented cfant tag via ColdFusion. Installing the necessary files to get the SVN task working isnt hard, you simply download and drop these files into the /lib directory under ANT home. In our case that’s C:\Program Files\apache-ant-1.7.1\lib
- svnant.jar
- svnjavahl.jar
- svnClientAdapter.jar
- svnkit.jar
- ganymed.jar
You can lay your hands on all these files at SVNAnt
First, the build.properties file contains one line:
svn.dev.wc=c:/path/to/client/site.local/
Then here is the ANT script to make short work of an SVN update: