Creating resources and adding them to source control

You add resources to source control so that you can track changes and share your work.

About this task

In this lesson, you will create a new directory and two new files in the tutorial VOB and add them to source control.

To create resources and add to source control:

Procedure

  1. In Windows Explorer or your IDE, add a directory named yourname_tutorial in the tutorial VOB.
    Note: You can also navigate to the VOB in the VersionVault Navigator, right-click on a blank space in the VersionVault Details view, and select New > Folder.
  2. In the new directory, create a directory named docs.
  3. In the docs directory, create files named readme.txt and notes.txt.
  4. In the HCL VersionVault Explorer, connect to VersionVault server, if you are not connected already. Expand the My Views node in the VersionVault Navigator, right-click on the view called yourname_tut_view, and click Connect. In the VersionVault WAN server dialog box, fill in the connection details and click OK.
  5. In the VersionVault Navigator, navigate to the docs directory under the yourname_tutorial directory.
  6. In the VersionVault Details view, right-click the notes.txt file and click Add to Source Control.
    Note: You can also select the file and click the add to source control icon (Add to Source Control) button in the toolbar or you can select Actions > Add to Source Control from the VersionVault menu.
  7. In the Add to Source Control dialog box, click the Show Details button (if it is available), type a comment in the Comment field, and click OK.

    The notes.txt file and its parent directories, docs and yourname_tutorial, are added to source control. (A file cannot be added to source control unless the directories above it are also under source control. In this case, only the parent directory is added to source control.)

  8. In VersionVault Details, right-click the readme.txt file and click Add to Source Control.
  9. In the Add to Source Control dialog box, type a comment and click Apply.

Results

Your tutorial folder, the docs directory, and the two text files are now under source control. Note that the value of the State field in the VersionVault Details view is now Loaded instead of View Private.