Troubleshooting
Problem
This technote explains why the IBM® Rational® ClearCase® environment variable CLEARCASE_PROFILE does not impact the default changes to the cleartool and multitool commands when executed from the graphical user interface (GUI) on Microsoft® Windows®.
Cause
The CLEARCASE_PROFILE environment variable only works when cleartool and multitool command are run from the command line.
Say for example you wanted to change the default behavior of cleartool checkout to not prompt for a comment., you would
- Define the CLEARCASE_PROFILE environment variable and set the fully qualified path and file name for a profile to override the checkout settings.
For example: CLEARCASE_PROFILE=c:\.clearcase_profile - Create the .clearcase_profile file in the path that you specified in the above step.
- Edit the contents of the file and add the following line:
checkout -nc
Upon making these changes you would see that checkout from the command line would not prompt for a comment, but checkout from the GUI (ClearCase Explorer or Windows Explorer or other integration GUIs) would prompt for a checkout.
Resolving The Problem
You will need to configure the User Preferences on the ClearCase client to control the behavior of GUI interactions.
The user preferences to control the GUI will depend on the interface you are working in.
- If you want to change the ClearCase and Windows Explorer GUI defaults, configure the User Preferences found on the Options tab in ClearCase Home Base (Start > Run type clearhomebase).
Note: Review technote1135939 for an example on how to configure the ClearCase and Windows Explorer GUI to change the default behavior for checkouts.
- If you want to configure a 3rd party integration GUI default behavior (such as Microsoft Visual Studio or Sybase Power Builder), you will need to toggle the user preferences from the IDE. Consult the help files about the integration of concern for more information.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21142599