Question & Answer
Question
How do I connect to or disconnect from a ClearCase Remote Client (CCRC) WAN Server from the Visual Studio IDE when the IBM Rational ClearTeam Explorer integration is enabled?
Answer
In IBM Rational ClearCase version 8.0.0.1 and later, you can connect to and disconnect from the CCRC WAN Server from within the Visual Studio IDE.
Connect/Disconnect options are provided in the following places in the Visual Studio IDE:
- The ClearCase menu has a new menu item, “Connect”.
- A new tool bar named “ClearCase -Web” is available with two buttons, “Connect” and “Disconnect”, for connecting to and disconnecting from the CCRC WAN Server, respectively.
- In the context menu for the web views listed in FrontDesk → Views.
Beginning with version 8.0.0.3, additional entry points are available:
- In the context menu for the solutions listed under the Web Views in Front Desk Views Page.
- In the context menu for the items ( File, Project, Solution ) listed in Solution Explorer.
![](http://www.ibm.com/i/v14/icons/fw_bold.gif)
![]() Figure 1 : Context-free connect dialog |
![](http://www.ibm.com/i/v14/icons/fw_bold.gif)
The "Connect" button in the toolbar behaves similarly to the "Connect" option in ClearCase menu. When you click the "Disconnect" toolbar button, a warning dialog is displayed if there are no connected servers (Figure 2). ![]() Figure 2 : Warning dialog when there are no servers to disconnect If there are any connected servers, a dialog lists their URLs (Figure 3). ![]() Figure 3 : Disconnect dialog listing connected servers Select one or more servers to be disconnected. If you select all of them, a warning is displayed (Figure 4). ![]() Figure 4 : Disconnect All warning dialog For all other single or multiple selections, a warning is displayed for each selected server. To suppress warnings, clear the “Always prompt before disconnecting” check box (Figure 5). ![]() Figure 5 : Disconnect warning dialog NOTE: The “Connect” options in the tool bar and in the ClearCase menu bar are context-free. This means that when connecting from a context-free area, the server pull-down option in the Login dialog is enabled and you can connect to any CCRC WAN server. The “Disconnect” option in the tool bar is context-free as well. When disconnecting from a context-free area, you have the option to disconnect from any or all servers. |
![](http://www.ibm.com/i/v14/icons/fw_bold.gif)
· Web views listed in FrontDesk -> Views · Solution entries listed under Web views in Front Desk · Files, projects, solution listed in Solution Explorer Selecting the "Connect" context menu option displays the context-sensitive login dialog. In this case, the server pull-down option is disabled and populated with the server for the selected view (Figure 6). ![]() Figure 6 : Context-sensitive connect dialog The "Disconnect" context menu option displays a confirmation dialog and disconnects you from the server for the selected view. |
Note: After a “Disconnect” operation, operations that requires a server connection such as checkout, checkin, and so on, are enabled but not functional. To make them active, you need to reconnect to the server through the available options explained above.
This behavior has been fixed in version 8.0.0.3.
Context Menu entries based on Connected/Disconnected Status:
Beginning with version 8.0.0.3, ClearCase operations that are enabled in toolbar buttons and context menu entries in Front Desk Views Page, Solution Explorer, Pending Solution Checkins and ClearCase Search are enabled or hidden based on connectivity status in a Web view context.
![](http://www.ibm.com/i/v14/icons/fw_bold.gif)
Figure 7 shows an example of the context menu that is displayed in the solution explorer when you right-click on a source controlled item when connected to a CCRC WAN server. ![]() Figure 7: Solution Explorer Context menu when connected to CCRC WAN server |
![](http://www.ibm.com/i/v14/icons/fw_bold.gif)
Figure 8: Solution Explorer Context menu when disconnected from CCRC WAN server |
The Connect and Disconnect context menus are not available in Pending Solution Checkins and ClearCase Search. But their context menus and toolbar entries are populated based on the criteria explained above.
[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Integrations: Visual Studio.NET","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0.0.1;8.0.0.2;8.0.0.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21571384