Hello Leslie,

        To confirm that VSS is the "active" SCC provider on your machine,
do:
Check to see if MS SourceSafe has been registered as a valid
"SourceCodeControlProvider" by checking the Registry at:
        Key:    HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider
        Value:  ProviderregKey = "Software\Microsoft\SourceSafe"

If the above Key/Value reads:
        Key:    HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider
        Value:  ProviderregKey = "Atria\ClearCase"
Then this means that ClearCase is the active SCC provider. Here is a
Solution, which I wrote, that will guide in switching between the two SCC
providers:

========================Solution 8870============================
PRODUCT: Rose/ClearCase/Visual SourceSafe
OS: Windows
DEFECT #: N/A
PATCH #: N/A
REFERENCES: N/A

QUESTION:
There are cases when one has to work with two different CM systems installed
on the same machine; e.g.  Microsoft's Visual SourceSafe and Rational's
ClearCase(NT-platform).
How can I switch between using Rose with ClearCase and Rose with VSS?

ANSWER:
You have two choices:

1. Send customer to this URL which provides a tool to accomplish this:

http://www.codeguru.com/devstudio_macros/SwitchSCC.shtml

2. Manually edit the registry when you want to switch which is discussed
below:

Since Rose has only been officially tested to work with ClearCase and VSS
(which both are SCC-API-compliant), we will use these two CM systems in this
example. 

When a CM system claims to be SCC-API-compliant, this means that if you were
to
bring up the Windows NT's Registry and browse to:

HKEY_LOCAL_MACHINE\Software\SourceCodeControlProvider     

and

HKEY_LOCAL_MACHINE\Software\SourceCodeControlProvider\InstalledSCCProviders

You would see that CM system's Registry keys.  For example, on a Windows NT
machine
that has both VSS and ClearCase installed, browsing to the above Registry
locations, you should see the following in the  ...\InstalledSCCProviders
key:

> Microsoft Visual SourceSafe      "Software\Microsoft\SourceSafe"
> ClearCase                                  "Software\Atria\ClearCase"

[NOTE:]  If VSS is installed but does not show up in the above location,
then this
means that the VSS Integration option was not selected upon the installation
of VSS
from the Visual Studio CD.  Please consult the VSS on-line Help on how to
"enable"
this VSS integration option.

So, how does Rose decide which one of these two installed CM systems to use?
Very simple: Rose merely looks in the following location:

HKEY_LOCAL_MACHINE\Software\SourceCodeControlProvider

This is the upper level from:

HKEY_LOCAL_MACHINE\Software\SourceCodeControlProvider\InstalledSCCProviders

And should contain the String Value: "ProviderRegKey".

Which ever CM system is listed as the value for this 'ProviderRegKey' is the
"active" CM system, as far as Rose is concerned. Therefore, if you set and
reset  the value FOR this
String (by simply double-clicking on it) to either
'Software\Microsoft\SourceSafe'  or
'Software\Atria\ClearCase',  you can "tell" Rose which one to work with when
using the
Version Control feature from within Rose.

[OPTIONAL]  To semi-automate the above procedures, one could create the
following
two registry files:  I named them  "vss.reg"  and  "cc.reg" :

"vss.reg" contains:

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\SourceCodeControlProvider]
"ProviderRegKey"="Software\\Microsoft\\SourceSafe"

and "cc.reg" contains:

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\SourceCodeControlProvider]
"ProviderRegKey"="Software\\Atria\\ClearCase"

Then, prior to running Rose(recommended) I double-click on the reg file
corresponding
to the CM system I want to use with Rose, to enter the appropriate setting
in the Registry.
Then, I run Rose.

This technique of being able to switch between CM systems is possible
because Rose
utilizes the same DLL servers (sccres.dll  and  rsssourcectl.dll) to access
both VSS's
and ClearCase's interfaces.


For more information, contact Rational Software Technical Support.
=================================================================



Thank you,

Shaquille Asghari
Senior Support Engineer
Rational Customer Service - Committed to Service Excellence
SCP Certified:- http://www.rational.com/support/scp.jsp
Rational
the software development company

==========Original Messege==========




-----Original Message-----
From: Les Munday [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 9:37 AM
To: [EMAIL PROTECTED]
Subject: (ROSE) Version Control with Rose



I'm using Rose with VSS installed on the same computer.

I also have ClearCase installed, although I don't use it .. yet.

My problem is that I want to place my models under CM control 
with VSS, but when I check the VSS add-in box, Rose tells me 
that it cannot find either VSS or ClearCase.

VSS is running and allows me to perform manual CM of my Rose 
models.

Anyone know how to fix this so that Rose recognises VSS, and 
not ClearCase?

Cheers,

Leslie.

________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe rose_forum
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe rose_forum
*************************************************************************

Reply via email to