Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Verify the CVS Workspace

After creating the CVS local working copy to hold the working copies of your Enterprise Architect package files, you should verify that it functions correctly.

You should be able to add files to CVS, and then commit changes to those files.  You should also be able register as an editor of the file as well as retrieve the list of currently registered editors.

Use to

Verify correct operation of a newly created CVS working copy folder, before attempting to use it with Enterprise Architect

How to

Step

Action

See also

1

Use Windows to open a command prompt window.

 

 

2

Change directory to the one you specified as the working copy, in the cvs checkout command when preparing  the CVS workspace.

For example;

C:\> cd myCVSWorkSpace

 

 

3

Create a test file, such as Test.txt, containing the text CVS Test.

For example;

C:\> echo CVS Test > Test.txt

 

 

4

Execute the following CVS commands:

cvs add Test.txt
cvs commit -m"Commit comment" Test.txt
cvs update Test.txt
cvs edit Test.txt
cvs editors Test.txt

 

The commands should execute without any errors and without prompting the user for any extra input.

The editors command should produce output that resembles the following;

Test1.txt myUserID Tue Aug 9 10:08:43 2009 GMT myComputer C:\myCVSWorkSpace\moduleName

 

 

5

Take note of the userID that follows the filename.

Enterprise Architect must find and use this user ID when you create your version control configuration.

 

CVS Settings

Notes

Your environment must be set up such that you can perform these operations without ever being prompted for input, such as user ID or password