IBM Support

Setting up and using the Rational Data Architect - CVS Integration

Troubleshooting


Problem

This technote provides step-by-step instructions to set up and use the IBM® Rational® Data Architect (RDA) integration with CVS.This technote assume that CVS is setup and configured correctly.

Resolving The Problem





Setting Team Preferences

  1. Start RDA
  2. Click Window -> Preferences
  3. Expand General
  4. Select Capabilities
  5. Click Advanced...
  6. Expand Team
  7. Enable CVS Support
  8. Click OK
  9. Click Apply
  10. Click OK



Adding CVS Location

  1. Click Window -> Open Perspective -> Other...
  2. Select CVS Repository Exploring
  3. Click OK
  4. Right-click in the CVS Repositories view
  5. Click New -> Repository Location...
  6. Enter the connection information
  7. Click Finish



Adding Projects to CVS

  1. Select the project in the Data Project Explorer
  2. Right-click
  3. Click Team -> Share Project...
  4. Select CVS
  5. Click Next
  6. Select Use existing repository location
  7. Select an existing repository location
  8. Click Next
  9. Select Use project name as module name
  10. Click Next
  11. Click Finish


  12. Click Finish


Subsequent Team Access to Version Controlled Projects

  1. Click Window -> Open Perspective -> Other...
  2. Select CVS Repository Exploring
  3. Click OK
  4. Expand the repository location
  5. Expand HEAD
  6. Select the desired module
  7. Right-click and then click Check Out
  8. Switch to the Data perspective

Performing CVS Functions

  1. Select the model file
    for example, *.ldm or *.ddm
  2. Right-click and then click Team
  3. Click the desired CVS function


Model Merges with the Integration


If you see the following dialog after attempting a commit command this might indicate that there are conflicting changes contained in the local file.



You will need to perform a Synchronization
  1. Select the model file
  2. Right-click
  3. Click Team -> Synchronize with Repository
  4. Switch to the Team Synchronizing perspective
  5. Use the navigation arrow to navigate through the differences


  6. Once a conflict is located, to accept the repository changes click the Copy from Right to Left

    Note:
    There is a known defect with the merge editor when using CVS: The
    merge editor does not provide visual feedback of the selections with the CVS

    integration (APAR JR26752)
  7. After resolving all conflicts close the merge editor by clicking X on the view
  8. Click Yes


  9. Select the model in the Synchronize view
  10. Right-click and then click Mark as Merged
  11. Right-click and then click Commit...
  12. Click Finish
  13. Switch to the Data perspective


[{"Product":{"code":"SSSRXA","label":"Rational Data Architect"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Integrations: IBM","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21261269