Code: Select all
c:\projects\
|
+--- cvsroot
Code: Select all
c:\work\
|
+--- example
|
+--- example.c
|
+--- example.h
Create a Zeus workspace for the example project as follows:
- Workspace New menu
- Name: example
- Directory: c:\work\example
- Hit the New button
Delete the Source, Header and Resource folders by selecting each in turn, using the right mouse click button and selecting the Remove Folder From Project option.
Step 3
Add the example.c and example.h file to the project, by selecting the example files project, using the right mouse click button and selecting the Add files to Project option.
Step 4
Use the Options, Editor Options menu and go to the Source Control section.
Step 5
Uncheck the Use the system default SCC module option.
Step 6
Select the Zeus SCC-CVS module from the list of SCC providers.
Step 7
Hit the Set Active button.
Step 8
Check the Enable SCC version control option.
Step 9
Apply the changes.
Step 10
Highlight the example files project, using the right mouse click button and select the Add to Source Control option.
Step 11
If you get this message:
then use the Workspace, Options menu, go to the Source Control section and check the Workspace to use SCC source control interface to enable the workspace for source control. Apply the changes and repeat Step 10.The source control is disabled. Use the Workspace, Options menu to enable source control.
Step 12
In the New Zeus SCC-CVS Project dialog that follows most of the details will already have been entered, but the following additional details will be needed to define the location of the CVS repository:
- Set Repository Folder to: c:\projects\cvsroot
- Set Protocol to: Local Folder
Step 13
Hit the Create Project to import the project into CVS. If the process was successful you will get a message saying just this.
Step 14
Double click on the example.c in the project/workspace.
Step 15
With the example.c as the active file use the Workspace, Source Control, Show History menu and you should see this:
Code: Select all
cvs.exe -d :local:d:\projects\cvsroot log example.c
RCS file: d:\projects\cvsroot/example/example.c,v
Working file: example.c
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
zcvs-release: 1.1.1.1
zcvs-vendor: 1.1.1
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.1
date: 2005/09/29 00:03:31; author: CHANGEME; state: Exp;
branches: 1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2005/09/29 00:03:31; author: CHANGEME; state: Exp; lines: +0 -0
Initial release
=============================================================================
Step 16
If you use the Workspace, Options menu, go to the Source Control section you will see that Zeus has filled in the version control information.
Step 17
To move the project to a server, adjust the AUX Path to point to a new server. For more details on how to configure servers and protocols refer to the the CVS Documentation.
Step 18
To help debug the process use the Workspace, Source Control, View Source Control Output menu.
The project and the files it contains are now under version control and you are ready to do check-outs, check-ins, differences etc etc.