RADE

Source Code Manager

adl_mk_mod

Creating a module

Quick Reference

Abstract

The adl_mk_mod command creates one or more module(s) in the current image of the current workspace.


Synopsis

adl_mk_mod module_name... [-force] -resp responsible_name [-h | -help | -?]

Usage

Once the module is created, it is also automatically created

An option allows the creation of a module with an already used name. Name conflicts are detected and resolved when both modules are found in the same workspace (when collecting,  for example). In this case, the user needs to resolve the conflict.

A user is associated with the new module: by default it is the current user. There is no user management in the SCM databases. No verification is done on the manager associated with a module.

After running the adl_mk_mod command in an image, you cannot launch any modification command (creation, move, rename, delete, or modification of content), in another image of the same workspace, till the image is refreshed.

[Top]

Naming rules

The basic naming rules are:

For more information on the naming rules, see the [3] naming rules document.

[Top]

Options

adl_mk_mod accepts the following options:  

-h|-help|-? Help of the command
module_name ... Name of the new module
-force Ignore frameworks whose names conflict with the one to create
-resp responsible_name Name of the module's responsible

Examples

Creation of the "MyNewMod.m" module under the "MyFw" framework under the "MyWsDev" workspace:  

adl_ch_ws MyWsDev
adl_mk_mod MyFw/MyNewMod.m -resp user1
or
adl_ch_ws MyWsDev
cd MyFw
adl_mk_mod MyNewMod.m -resp user1

 

Creation of the "MyNewMod.m" module under the "MyFw" framework, using an old module name:  

adl_ch_ws MyWsDev
adl_mk_mod MyFw/MyNewMod.m -resp user1 -force
or
adl_ch_ws MyWsDev
cd MyFw
adl_mk_mod MyNewMod.m -resp user1 -force

[Top


References

[1]
[2]
[3]
adl_mk_data: creating data
adl_mk_dir: creating directories
naming rules document

[Top]


History

Version: 2 [Mar 2001] Document update: -resp option mandatory
Version: 1 [Mar 2001] Document created

[Top]


Copyright © 2001, Dassault Systèmes. All rights reserved.