![]() | ![]() | ![]() | define-root-directory | ![]() |
|
| name &rest subdirectories | [Function] |
Purpose
Define a root directory.
Package :module-manager
Module :module-manager
Arguments and values
| name | A keyword symbol naming the root directory or a list containing the keyword-symbol name and, optionally, an application-version-identifier string | |
| directory-specification | One of the following:
| |
| subdirectories | One or more strings specifying, in order, subdirectories
from :up or :back can also be supplied in addition to any of
these strings, indicating to go upward one semantic or syntactic level of
directory structure, respectively.)
|
Description
Root and relative directory definitions are
used to isolate file-system details from module definitions.
Root directories specify a fixed anchor directory for a tree of
relative directory definitions. If the root directory is
redefined to a new location, all relative directories beneath it are
updated automatically.
Note: When a root directory is used as the
When an application-version-identifier string is supplied in
See also
define-relative-directory
get-directory
get-root-directory
show-defined-directories
with-system-name
Examples
Define a root directory named :my-app-root
(define-root-directory :my-app-root
(make-pathname :directory "~/my-app"))
Define a root directory named :my-app-root(define-root-directory :my-app-root *load-truename*)Define a root directory named
:my-app-root:my-app-preprelease
(define-root-directory '(:my-app-root #+my-app-prerelease "beta")
*load-truename*)
The GBBopen Project
![]() | ![]() | ![]() | define-root-directory | ![]() |