RADE |
Source Code Manager |
adl_mk_dirCreating a directory |
Quick Reference |
AbstractThe adl_mk_dir command creates one or more directory(ies) in the current image of the current workspace. |
adl_mk_dir dir... [-force] [-h | -help | -?]
When a directory is created with the adl_mk_dir command, it is recorded in the database (as a directory, not its content). It is created in the other images of the same workspace (when a refresh is done) or in the other images of the other workspaces (after collect or synchronization). If a directory contains a file, and if this file has been created with the [1] adl_mk_elem command, it is not useful to run the adl_mk_dir command to record the directory in SCM.
SCM offers an option allowing the creation a directory, even if it is in conflict with another directory already registered in the SCM database. For example, you can create two directories with the same name under the same framework in two different workspaces in the same tree. Another example: a directory is deleted with the adl_rm command. You can use the name again to create a new directory.
After running the adl_mk_dir command in an image, you cannot launch any modification
command (creation, move, rename, delete, or modification of contents) in another image of
the same workspace, till this image has been refreshed..
The basic naming rules are:
For more information on the naming rules, see the [2] naming
rules document.
[Top]
adl_mk_dir accepts the following options:
-h|-help|-? | Help of the command |
dir ... | Name of the new directory (ies) |
-force | Ignore directories whose names conflict with the one to create |
Creation of the "MyNewDir" directory under the framework "MyFw" in the "MyWsDev" workspace:
adl_ch_ws MyWsDev adl_mk_dir MyFw/MyNewDir or adl_ch_ws MyWsDev cd MyFw adl_mk_dir MyNewDir |
Creation of the "MyNewDir" directory, using an old directory name:
adl_ch_ws MyWsDev adl_mk_dir MyFw/MyNewDir -force or adl_ch_ws MyWsDev cd MyFw adl_mk_dir MyNewDir -force |
[Top]
[1] [2] |
adl_mk_elem: creating elements naming rules document |
[Top]
Version: 1 [Mar 2001] | Document created |
[Top]
Copyright © 2001, Dassault Systèmes. All rights reserved.