
ninevolt
This is Part 2 in a three-part series on using Subversion with Dreamweaver CS4. Part 1 provides a general introduction to Subversion and the concept of version control systems. This part shows you how to configure Dreamweaver CS4 to use a Subversion repository. Part 3, explains how to create your own repository.
When you are working on a project as part of a large team, there is typically a member of the team who has already set up a Subversion server and repository and can provide you with the connection method and credentials to the remote repository. Dreamweaver CS4 supports four major Subversion connection protocols: HTTP, HTTPS, SVN, and SVN+SSH.
In my experience most environments have Subversion set up in conjunction with Apache and will be supporting the HTTP or HTTPS protocol methods for connecting to the Subversion server. There are other methods for connecting to a Subversion server so be sure to check with your Subversion administrator for connection details. In the examples in this article, I use the HTTP method to connect to the repository.
Unlike a designer/developer working with a large team, individual developers will likely already be using Dreamweaver to manage their websites and will have much of the site definition already set up, but they will need to set up a Subversion repository. This may also apply to the senior developer at a firm who is responsible for the initial creation of the Subversion repository.
It is important to understand the creation of both a repository and the initial check-in of some web content. This process, however, is somewhat more advanced so it is included as the final part of this article series. For this initial check-in of content I already have a website set up in Dreamweaver and will enable Subversion support to start using the Subversion client in Dreamweaver CS4.
In order to make the most of this article, you need the following software and files:
Note: This article was written with Mac users in mind. If you are using Microsoft Windows, many of the concepts apply but configuration details will differ (outside of the Dreamweaver CS4 GUI). The steps to create a Subversion repository are Mac-specific, but they also apply to Linux-based machines.
Knowledge of Adobe Dreamweaver and basic web design/development knowledge.
Andrew Voltmer has been involved in software and web development since the early 1990s and has been using Dreamweaver since 1996 when he worked on a site management system for macromedia.com. He has extensive experience in software development and has maintained several version control repositories. His career includes stints at Macromedia, Organic Online, LookSmart, and ReplayTV. When not working on Internet technologies Andrew likes to play and record rock and roll.