ANT SVN update project script

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 […]
Last updated: March 11, 2012

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:

Duncan Isaksen-Loxton

Educated as a web developer, with over 20 years of internet based work and experience, Duncan is a Google Workspace Certified Collaboration Engineer and a WordPress expert.
Login
Log in below to access your courses.
Log In With Google
Forgot Password
Enter your email address or username and we’ll send you instructions to reset your password.