Modifying a resource

To modify a resource, you check it out from source control.

About this task

In this lesson, you will check out a file and edit it. Checking out a file makes it writable.

Procedure

  • To verify that checked-in files are read-only:
    1. In the VersionVault Details view, double-click the readme.txt file.
    2. In the editor, try to add text to the file and save it.
  • To check out a file and edit it:
    1. Connect to the VersionVault server.
      Expand the My Views node in the VersionVault Navigator, right-click on the view called yourname_tut_view and click Connect. In the WAN dialog box, fill in the connection details, and click OK.
      Note: You can also select the view and click the connect to ClearCase icon (Connect to VersionVault Server) button in the toolbar or you can select Connect from the VersionVault menu. In addition, if you are not connected to a VersionVault server and you perform an action that requires such a connection, the WAN dialog box appears automatically.
    2. In the VersionVault Details view, select readme.txt and then click the (Checkout the selected artifact(s)) button in the toolbar.
      Note: You can also right-click the file and click Check Out or you can select Actions -> Check Out from the VersionVault menu.
    3. In the Checkout dialog, click the Show Details button (if it is available), type a comment in the Comment field, and click OK.

      The readme.txt file is now checked out and you can edit the file.

    4. Add text to readme.txt and save the file.
    5. Follow the steps above and check out the notes.txt file.

Results