RADE

Source Code Manager

adl_ls_resp

Listing person in charge

Quick Reference

Abstract

The adl_ls_resp command displays rapidly the persons in charge of objects in some workspace trees.


Synopsis

adl_ls_resp soft_obj_file_path -ws workspace_name [-program [-sep|-separator "char"]] [-out file_path] [-h | -help | -?] (1)

adl_ls_resp [soft_obj_file_path] -tree tree... [-program [-sep|-separator "char"]] [-out file_path] (2)

 

Usage

This command is generally used for program.

This command can replace the [1] adl_ls_fw command, and is more efficient if you want to obtain rapidly the list of the responsible of the objects of a workspace. It shows the name of the users being responsible of one or many objects in their workspace trees. Objects that have no responsible are not displayed.

To change a responsible of an object, run the [2] adl_ch_resp command. The responsible of an object is the same for all the workspaces of a given tree.

The "soft_obj_file_path" is the path of the file which contains several lines. Each line corresponds to a software object to search in the format "identifier|path". To obtain the identifier, launch the [3] adl_ls_out command. The result gives the branch configuration first, then the object's identifier, separated by a "_". Keep only the object identifier and path(optionnal).

Example: the adl_ls_out command displays: +1CwlIkTknp9I3+++-ZE0M_Cwu2zzknp9I3+++-tk+e DlFw21/DlData21.d.
Just keep: Cwu2zzknp9I3+++-tk+e|DlFw21/DlData21.d

You can use this shell program to keep only identifiers and paths (ls_out.txt is the result of adl_ls_out and soft_obj.txt is the result formatted of this shell) :

awk 'BEGIN {
FS="|";
}
{
split($1,a,"_");
printf("%s|%s\n", a[2], $2)
}' "ls_out.txt" > "soft_obj.txt"

In addition, there is no control that the given objects belong to the given workspace. This has been done for performance reasons.

Paths are only used for display, they are not considered in the program. They make easier the reading of result.

Several data are displayed, about the object:

Remember that to know easily who is the responsible of a software object, you can use the adl_ds_chg command. If the software object is a component, you can also use the adl_ls_fw command.

[Top]

 Options

adl_ls_resp accepts the following options:

-h|-help|-? Help of the command
soft_obj_file_path  Path of a file containing a list of objects
-ws workspace_name  Name of the workspace where the object should be found (*)
-tree tree... Workspaces trees to consider
-program Display for programs
-sep | -separator "char" Separator character between each field for programs (default value is blank)
-out file_path Path of a file for writing the results

(*) In fact, the workspace is used to have a set of workspace trees, in which the objects are searched.

Examples

List the object's responsible for the workspace "WsName"

adl_ls_resp FileName -ws WsName

with the file "FileName" containing the identifier and the name of different objects

Cwu2zzknp9I3+++-tk+e|DlFw21
Cwu3pTknp9I3+++-DU4Y|DlFw22/DlMod22.m
DNa+3Dknp9I3+++-JUDG|DlFw21/DlData21.d

The result of the adl_ls_resp command is:

Cwu2zzknp9I3+++-tk+e DlFw21 Fw dl TREE1_INDUS CHI+48mLDPw-++0dI++3
Cwu3pTknp9I3+++-DU4Y DlFw22/DlMod22.m Mod dl TREE1_INDUS CHI+48mLDPw-++0dI++3
DNa+3Dknp9I3+++-JUDG DlFw21/DlData21.d Data dl TREE1_INDUS CHI+48mLDPw-++0dI++3

 

[Top]


References

[1] adl_ls_fw: Listing existing components of a workspace
[2] adl_ch_resp: Changing responsible
[3] adl_ls_out Listing object's identifier

[Top]


History

Version: 2.0 [December 2003] Document update : Extension to all software objects
Version: 1.0 [October 2002] Document created

[Top]


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