RADE |
Java 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 ADL_ODT_CONCATENATION
environment variable
WhichDir
directorypathname | filepathname
[Top]
Finds a given directory or file among the concatenation of directories declared using the
ADL_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 inADL_ODT_CONCATENATION
environment. Subdirectories must be separated using theADL_ODT_SLASH
environment variable.This command will be used to add sonme .zip, .jar,.... to the CLASSPATH.
[Top]
- To find the GW0Start.jar in the directory $OS/docs/java:
export CLASSPATH=$CLASSPATH${ADL_ODT_SEPARATOR}$(WhichDir $OS/docs/java/GW0Start.jar)
[Top]
WhichDir uses the following environment variables:
ADL_ODT_CONCATENATION
Contains a directory concatenation used by the WhichDir
commandADL_ODT_SLASH
/ on Unix, \ on Windows ADL_ODT_SEPARATOR
: on Unix, ; on Windows
[Top]
Possible exit status values are:
0 Successful completion >0 Failure because any of the following
[Top]
Version: 1 [March 2001] | Document created |
[Top] |
Copyright © 2000, Dassault Systèmes. All rights reserved.