Connecting a Snapshot View to Clearcase in RAD 7.5

2019-02-20 04:36发布

问题:

I need some help connecting my RAD 7.5 workspace to a ClearCase source-controlled snapshot view.

Here is what I have done so far.

  • Creating a stream of the code in ClearCase - Done.
  • Creating a dynamic view of the code in ClearCase - Done.
  • Checking all files into source - Done, every file is part of the "File Element Version" in ClearCase for this dynamic view.
  • Connect a Worspace to the Dynamic View - I don't know if this is necessary, but I have managed to do this. And no, I do not remember what I did exactly to make it connect to the source.
  • Create a snapshot view from the source - Done. In ClearCase Explorer, under "Exploring ClearCase Projects", I right-click to stream of my code and choose "Create View", then specifically select "create Dynamic View" and "Snapshot", then choose a local c:/ccviews/ folder for my source to be created in, then choose the source components to be loaded into that view.
  • Create a new workspace for this Snapshot View - Done.
  • Set up the Snapshot View for a ClearCase Connection Done, I open "Preferences" under the "Windows" Dropdown, expand "General", select "Capabilities", go to "Advanced Options", expand "Team", and make sure that UCM and SCM ClearCase Adapter are bot checkmarked.
  • Connect to ClearCase - Done.
  • Import the project - Done. I select "Import" from the File dropdown, expand "General", select "Existing Projects Into Workspace", select c:/ccviews/[Folder containing my project], check the "copy projects into workspace" box, and hit OK.
  • Run the migration tool - Done.

So with that all complete, I still cannot connect to my source. I KNOW that ClearCase is connected, and that I can connect a workspace to the source because my Dynamic View is connected to said source, but the Dynamic View is not ideal for the read/write testing that I need to do.

I can publish my code to a WAS7 server, but that wont' do me much good if I can't make changes to it. I've tried rebasing my stream but it wont' let me, nor will it let me do a deliver stream action.

So what now do I need to do to complete the connection of my workspace to my source?

As requested, here are pictures of my Eclipse workspace, and my Clearcase screen with .project and .classpath files shown.

Larger Size: http://i.imgur.com/J5WRPKq.png

Larger Size: http://i.imgur.com/4vCTQ55.png

回答1:

What you can try is open your RAD with a different Eclipse workspace, and try and import your project (from the snapsphot view this time) in that new Eclipse workspace.

I would recommend also stopping the dynamic view (just to be on the safe side, even though both should be able to run together)

cleartool endview -server my_dynamic_view_tag