CVS tutorials
Using CVS (Concurrent Versions System) with Dreamweaver MX 2004
Requirements
CVS running on a server - hereDreamweaver MX 2004 - here
Dreamweaver CVSLite Extension (demo download is the free lite version you need) - here
CVSNT client (Scroll down to the bottom right box - free registration and you will need the server and client for Windows XP version) - here
Installation/configuration
CVSNT client:When installing dont install the server as it is only the client we will be using. Once installed set up the system variables that the program will use.
XP:
Right-click My Computer and select Properties,
Click Advanced,
Click Environment variables,
In System variables (near the bottom) click the variable 'Path' and click Edit
At the END of the Variable value text (dont delete the current content!) add in
;C:\Program Files\cvsnt
(or wherever you installed CVSNT) - make sure the semi-colon is there!
Ok it all the way back to complete adding the system information.
Dreamweaver CVSLite Extension:
You should just be able to double click the extension if you have the macromedia extension sofware installed.
To check its installed simply boot up dreamweaver and there should be a cvslite tab at the top.
Now minimise Dreamweaver and go to your C Drive
My Computer -> C Drive
Add a new folder on your root C drive called cvstmp
it should be C:\cvstmp
Go back into Dreamweaver
Dreamweaver configuration
Create a new site. Name it and point it to wherever you want the code to sit. In the site manager file browser, add a new folder called the module you will be checking out
e.g, New Folder called 'example'
Now right-click the new folder (example) and select:
CVS For Dreamweaver -> Configuration
In the temporary directory field type the following and the click close
C:\cvstmp
Again right-click, CVS For Dreamweaver, and then choose:
Checkout
Enter the following details in the specified fields to check out the example module:
Project Name: [your project]
Local Working Directory: [Browse to the parent folder of [your project]]
Protocol: Password Server :pserver
Server: [server ip]
Port: 2401
Repository Folder: [remote repository]
Username: [cvs username]
checkout
A box will open and may sit there for a little while while the files are copied.
Dreamweaver usage
Always run CVS Update on any folders before working on them (and any files you are about to work on)
Right-Click Folder, CVS For Dreamweaver -> Update
Then open the file in Dreamweaver, edit it and save it.
Then Commit it to update the information in CVS.
Right-Click File, CVS For Dreamweaver -> Commit
Finally it looks as if Dreamweaver does not update any changes to files that are already open on your system so close them down before running an update!!!


