Eclipse: Adding a project to source control
You add resources to source control so that you can track changes and share your work with others.
About this task
In this topic, you will add your Eclipse project to source control in the tutorial VOB.
To add a project to source control:
Procedure
-
Connect to the VersionVault server, if you are
not already connected.
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 VersionVault Server) button in the toolbar or you can select 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.
- In the VersionVault Navigator, navigate to the docs folder in your project folder.
- In the VersionVault 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 VersionVault 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.