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 […]
July 5, 2009 9:48 am

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:

Leave a Comment

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.