RADE |
Source Code Manager |
adl_ls_respListing person in charge |
Quick Reference |
AbstractThe adl_ls_resp command displays rapidly the persons in charge of objects in some workspace trees. |
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)
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]
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.
List the object's responsible for the workspace "WsName"
with the file "FileName" containing the identifier and the name of different objects
The result of the adl_ls_resp command is: Cwu2zzknp9I3+++-tk+e DlFw21 Fw dl TREE1_INDUS CHI+48mLDPw-++0dI++3
|
[Top]
[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]
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.