[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1345
  • Last Modified:

Where is CLEARCASE_ROOT defined?

My OS is Windows NT.  I run clearmake with GNU compatibility.  We recursively build our libraries and applications.  I have the following question from our top level makefile:

# VOB_ROOT
#
VOB_ROOT = $(CLEARCASE_ROOT)

Where is CLEARCASE_ROOT defined?  what's it's value.  Our top level makefile refers to CLEARCASE_ROOT but where is it defined?
0
naseeam
Asked:
naseeam
1 Solution
 
peakpeakCommented:
Tried SET in a command window?
0
 
jkrCommented:
On NT/W2k/Xp et. al. you should find that in the registry under

HKEY_CURRENT_USER\Environment

Alternatively, you can set/change that using "My Computer|Properties|Advanced|Environment Variables"
0
 
jkrCommented:
BTW, using "set" is restricted to the current console window where the command is executed, so its use is limited.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
naseeamAuthor Commented:
It's not in the above registry nor it shows up by typing set in a command window.
0
 
jkrCommented:
Then set it there. These environment variables are passed to any process that is created, so you will get that stuff working by providing the correct value.
0
 
naseeamAuthor Commented:
My stuff is working for a long time.  I never had to set CLEARCASE_ROOT to my environment.  
Is this generated when clearmake is run?
0
 
jkrCommented:
When 'clearmake' sets that environment variable for the processes it launches, this will work also.
0
 
naseeamAuthor Commented:
CLEARCASE_ROOT
       (automatically set by the setview command -- do not set  this  variable
       yourself)  The  full  pathname of the root directory of a set view pro-
       cess.  For example, the command 'setview bugfix'  creates  a  shell  in
       which CLEARCASE_ROOT is set to '/view/bugfix'.

       Default: not set in a process that was not created by setview.

0
 
naseeamAuthor Commented:
I don't follow the followig.  Please explain again.  Thanks.

When 'clearmake' sets that environment variable for the processes it launches, this will work also.
0
 
Vee_ModCommented:
Closed, no points refunded.
Vee_Mod
Community Support Moderator
0
 
modus_operandiCommented:
Closed, 0 points refunded.
modus_operandi
EE Moderator
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now