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:
- In the ClearTeam
Details view, double-click the
readme.txt file.
- In the editor, try to add text to the file and save
it.
- To check out a file and edit it:
- Connect to the ClearCase® server.
Expand the
My Views node in the
ClearTeam
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
Server) button in the toolbar or you can select from the
ClearCase menu. In addition, if you are not connected to a
ClearCase server and you perform an action that requires
such a connection, the
WAN dialog box appears automatically.
- In the ClearTeam
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 from the ClearCase menu.
- 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.
- Add text to readme.txt and save
the file.
- Follow the steps above and check out the notes.txt file.
Results
You must check out a file from source control before
you can modify it.