Sharing a Rational Rhapsody project in CVS

This topic assumes that you know how to create a Concurrent Versions System (CVS) repository and connect to an existing CVS repository.

Procedure

  1. Switch to the IBM® Rational® Rhapsody® Unit View.
    1. In Eclipse, open the Show View window. Choose Window > Show View > Other.
    2. Select Rhapsody > Unit View and click OK.
  2. In the Unit View window, right‑click your project and then select Team > Share Project to open the Share Project window, which has various views.
  3. On the Enter Repository Location Information view of the Share Project window, enter the repository location information and then click Next.
  4. On the Enter Module Name view of the Share Project window, make sure the Use project name as module name radio button is selected and then click Next.
  5. On the Share Project Resources view, notice that there is an arrow overlay added to the icons for all the files/folders in your project . This means that those files/folders will be added to the repository. Click Finish.
  6. Because Eclipse/CVS is not familiar with Rational Rhapsody file extensions (for example, .sbs, .cmp), it asks you if the content of those files is binary or ASCII text. On the Add Resources view of the Commit Files window, select ASCII Text as the content for each extension and then click Next.
  7. Enter a commit comment on the next view of the Commit Files window and then click Finish to commit the operation. This adds those marked units into the repository.

Results

You can now switch to the Rational Rhapsody Modeling perspective to keep working on your Rational Rhapsody model. Notice in the Unit View window there is a database overlay added to the icons for the files/folders in your project . This means that the files/folders are checked in units in a CVS repository.


Feedback