You add resources to source control so that you can track
changes and share your work with others.
In this topic, you will add your Eclipse project to source
control in the tutorial VOB.
To add a project to source control:
- Connect to the ClearCase server, if you are not already
connected.
Expand the
My Views node
in the ClearTeam Navigator, right-click on the view called
yourname_tut_view and
click
Connect. In the
CCRC 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
CCRC WAN dialog
box appears automatically.
- In the ClearTeam Navigator, navigate to the docs folder
in your project folder.
- In the ClearTeam Details view, right-click the notes.txt file
and click .
- 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.)
- In the ClearTeam Details view, right-click the readme.txt file
and click .
- 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.
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 ClearCase Details view is now Loaded instead of View
Private.