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 make use of Subversion to provide version control of your model's packages, you must prepare a functional SVN working copy folder that can be accessed through an Enterprise Architect version control configuration.
Use to
• | Create a Subversion working copy folder, suitable for use with Enterprise Architect |
How to
Step |
Action |
See also |
1 |
Choose a suitable directory on your system, in which to create your Subversion Working Copy.
|
|
2 |
Open a command prompt window and (if necessary create and then) navigate to a suitable directory to use as your Subversion working copy directory. For example: C:\> mkdir mySVNWorkSpace C:\> mkdir mySVNWorkSpace/myEAModelName C:\> cd mySVNWorkSpace/myEAModelName
|
|
3 |
Issue the command to 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. (By specifying your Subversion username and password, you ensure that they are correctly cached by Subversion and available for use by Enterprise Architect). For example; C:\> svn checkout "https://myserver:8443/svn/repos_folder --username myUserName --password myPassword
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 ( P ) 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 |
You should now verify that your Subversion environment functions correctly. |
|
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 |