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

Create a Local Working Copy

In order to use Subversion to provide version control of the Packages in a model, you need to prepare a functional SVN working copy folder that can be accessed through an Enterprise Architect version control configuration within that model.

Create a Subversion working copy folder

Step

Action

See also

1

Choose or create a suitable directory on your system in which to create your Subversion working copy.

2

Open a command prompt window and navigate to the directory you have selected. For example:

     C:\> mkdir mySVNWorkSpace

     C:\> mkdir mySVNWorkSpace/myEAModelName

     C:\> cd mySVNWorkSpace/myEAModelName

3

Perform the initial check out from the Subversion repository, specifying the repository folder and local working copy folder, as well as your user name and password. For example:

     C:\> svn checkout "https://myserver:8443/svn/repos_folder

     "C:\mySVNWorkSpace/myEAModelName"

     --username myUserName

     --password myPassword

(By specifying your Subversion username and password, you ensure that they are correctly cached by Subversion and available for use by Enterprise Architect.)

If you specify the HTTPS protocol when performing the initial Subversion check out, a prompt displays to accept a security certificate; in this instance, press the P key to permanently accept the certificate.

The nominated local folder is configured as a Subversion working copy folder.

Any files already existing in the repository folder are downloaded to the working copy folder as working copy files.

4

Verify that your Subversion environment functions correctly.

Verify the SVN Workspace

Notes

  • It is important that Subversion caches your username and password, so that it never has to prompt for user input; a check-out operation might not request authentication, and if it does not you should perform an action that does request authentication, such as adding and committing a dummy test file
  • The process described above can also be performed using TortoiseSVN's Checkout command (which provides options to browse when specifying both your repository folder and your local folder); when prompted for authentication details by TortoiseSVN, make sure you place a check against the 'Save Authentication Data' option