Support for CVS
Initial Setup
- Use the Window menu and select Preferences....
- Expand the tree menu for Team in the left-hand side of the Preferences window
then expand the sub-menu for CVS.
- Click on Watch/Edit. The Watch/Edit check boxes should be set as follows:
- Settings for CVS Watch/Edit: Check Configure projects to use Watch/Edit on checkout.
- When read-only files are modified in an editor: Check Send a CVS edit notification to the server.
- Before a CVS edit notification is sent to the server: Check Always prompt.
- Update edited files: Check Prompt to update if out of date.
- Click OK.
- Switch perspective to CVS Repository Exploring. This perspective shows files on the CVS server.
- Right-click in the blank window area.
- Select the New repository location. The Add a new CVS Repository dialog box appears.
- Enter settings supplied by the CVS system administrator. These settings should include the following:
- Host
- Repository path
- User
- Password
- Connection type
Now the snapshot view can be populated.
- Switch to the CVS Repository Exploring perspective.
- Go to the HEAD or Branch nodes.
- Right-click and select Check out to check out the desired library.
- By default the library is checked out in the Composer workspace.
Editing a Method Element
- Make sure you are in the Authoring perspective.
Elements can only be edited from within this perspective.
- Use the tree-browser to find library element you want to edit.
- Double click on the element name to bring its contents into Editor window.
- As soon as changes are made to an element a "*" will appear on the tab at the top of the Editor window next to the name of the element.
- Use the File menu then select Save to save changes.
The "*" symbol will disappear indicating the local filesystem has been updated with the version currently cached in memory.
- When prompted to send a CVS notification answer Yes.
If the file is currently being edited by another user a dialog box will appear with the option to continue or not.
Answer No or else the files will have to be merged later.
- Switch to the Resources perspective.
In this perspective files that have been modified and need to be checked-in are marked with a ">" symbol.
Right-click to bring up Team menu, then Commit.
Note: You should either check-in all files at once or else don't check-in any of them.
Adding a Method Element
- Make sure you are in the Authoring perspective.
New elements can only be added from within this perspective.
- Use tree browser to locate the area where the new element will be added.
- Right-click on the parent element.
A sub-menu will appear.
- Select Add new plug-in....
- Enter content for the new element in the Editor window.
A "*" symbol will appear next to the name of the new element
in the tab at the top of the Editor window.
This indicates the version cached in memory is out-of-synch with the local filesystem.
- After entering content for the new element use File menu and select Save.
The "*" symbol will disappear indicating that the copy in the local filesystem has been updated with the version cached in memory.
- Switch to the Team Synchronizing perspective.
- The new element should be listed there along with any dependent files.
The dependent files may include
plugin.xmi.
Make sure this file is also updated.
- Richt-click on the element to be added and select Commit....
Deleting a Method Element
- Make sure you are in the Authoring perspective.
Elements can only be deleted from within this perspective.
- Locate the element you wish to delete in the tree browser.
- Right-click on the name of the element and select Delete from the sub-menu.
- Use the File menu and select Save.
- Switch to Team Synchronizing perspective.
1 or more files will be listed there. Look for a special icon next to files marked for deletion.
- Right-click on the file to be deleted and select Commit....
The file should disappear from the list on the right.
 :