You use a ClearCase view to access and modify resources under source
control.
The configuration of the ClearCase view determines which version
of a file or directory that you see. Depending on your development model,
you can use different ClearCase views for different tasks.
In this lesson,
you will create the ClearCase view that you will use for the rest of this
tutorial.
To create a ClearCase view:
- If you are using Eclipse, open the ClearCase perspective. On the
Eclipse menu bar, click . In the Open
Perspective dialog, click ClearCase Explorer.
- Click the
(Create a base ClearCase
view) button in the toolbar. Note: You can also select Create
View from the ClearCase menu.
- In the Create View/Choose a ClearCase server window,
specify your ClearCase server and, if you are not already connected to the
server, click Connect.
- In the Change Management/Login to the Change Management
Server window, fill in the connection details for the ClearCase
server and click OK to connect to the sever and dismiss
the dialog box.
- In the Create View/Choose a ClearCase server window,
click Next.
- In the Create View/Create a ClearCase view window,
specify the following values.
- For ViewTag, specify yourname_tut_view as
the view tag value. As you enter text in this field, the Copy area
path name automatically reflects your changes by default. The
copy area is the location where files and directories from the ClearCase repository
are stored while you work on them. If you want to specify a different copy
area location, you can enter text in the Copy area path name field
or click Browse.
- If your environment uses different operating systems, you can select the
appropriate line termination mode for text files (ask your administrator for
this information) in your environment by clicking View Options and selecting
the correct mode in the View options dialog box.
- Click Finish. The Edit Configuration dialog
box appears.
- In the Edit Configuration dialog box, click Cancel.
You will load resources in a separate lesson.
You have now learned how to create a base ClearCase view
that you can use to access your files and directories.