Create a Local Working Copy

Once you have created a sub-tree in the repository for this model, or if one already exists, you are ready to create the local Working Copy for use with this model.

To create the local Working Copy, follow the steps below:

  1. Choose a suitable directory on your system, in which to create your Subversion Working Copy. The directory that contains your model's .EAP file is probably a good choice.
  2. Open a command line window, navigate to the directory to hold your Working Copy directory and check-out the model's sub-tree from the repository, with the following command:

                 svn checkout  <repositoryURL>/<EA_Model_Name>,

where <EA_Model_Name> is the directory name that you used in setting up the repository sub-tree above.


After you have created your working copy, you should verify everything is working correctly before you attempt to use it from within Enterprise Architect. You must be able to commit files to the repository, without being prompted for ID or passwords.

Enterprise Architect interacts with Subversion using its command line client. Firstly, create a file in your working copy folder then, from a command prompt, add and commit the file to the repository. Use the following commands:

svn add <fileName>

svn commit <fileName> -m"A meaningful comment."

Now, update the file from the repository, lock the file, edit it and commit once more. Use the following commands:

svn update <fileName>

svn lock <fileName>

Then edit and save the file using your preferred editor:

svn commit <fileName> -m"A meaningful comment."