RADE |
C++ Unit Test Manager |
WhichDirFinds a directory or a file in a workspace |
Quick Reference |
WhichDir Finds a directory or a file in the workspace directories declared using the MKMK_LST_RTV
or theL_ODT_CONCATENATION
environment variable
WhichDir
directorypathname | filepathname
[Top]
Finds a given directory or file among the concatenation of directories declared using the
MKMK_LST_RTV
( if the directory starts with $OS) orADL_ODT_CONCATENATION
environment variable. WhichDir should be used in a shell script that runs an ODT to refer to a directory or a file using a relative pathname starting with the framework name below the workspace name when an environment variable that contains the absolute pathname, such asADL_ODT_IN
orADL_ODT_OUT
, cannot be used. WhichDir scans the directories in order of declaration inMKMK_LST_RTV or ADL_ODT_CONCATENATION
environment. Subdirectories must be separated using theADL_ODT_SLASH
environment variable.
[Top]
- To find the Visualization/CNext/resources/graphic/cubes.cgr file with Unix, or the Visualization\CNext\resources\graphic\cubes.cgr file with Windows in the directories of the current workspace concatenation from a shell that launches an ODT.
WhichDir Visualization${ADL_ODT_SLASH}CNext${ADL_ODT_SLASH}resources ${ADL_ODT_SLASH}graphic${ADL_ODT_SLASH}cubes.cgr
[Top]
WhichDir uses the following environment variables:
MKMK_LST_RTV
ADL_ODT_CONCATENATION
ADL_ODT_SLASH
[Top]
Possible exit status values are:
0 Successful completion >0 Failure because any of the following
[Top]
Version: 1 [May 2000] | Document created |
[Top] |
Copyright © 2000, Dassault Systèmes. All rights reserved.