RADE
|
Source Code Manager
|
adl_ls_fw
Listing frameworks |
Quick Reference |
Abstract
The adl_ls_fw command lists the frameworks, and with an option,
lists also the attached modules and attached data, of a given
workspace.
|
Synopsis
adl_ls_fw [framework...] [-mod] [-all] [-ws
workspace_name] [-tree ws_tree_name...] [-program [-sep | -separator
char]] [-out file_path [-xml]] [-h | -help | -?]
Usage
The command can also display the frameworks, modules, or data that are not yet
attached within a workspace. This workspace can be the current workspace,
obtained with the [1] adl_ch_ws command. If there is
no current workspace, you can give the name of a workspace. To display the
workspace's list, run the [2] adl_ls_ws command.
The display can be limited to some of the trees, in the case of a multi-tree
workspace.
The data displayed are:
- component name
- component type (framework, module or data)
- attachment type (attached or not attached)
- responsible name
- workspace tree
In the case of the "-program" option, two more information are
displayed:
- tree identification
- component identification (framework, module, data).
Those data can be displayed either in a normal mode ("attached" or
"not attached") or in a program mode ("1" or "0").
The result of the command can be sent in the file of your choice, and you can
work with those results afterwards.
For more details, see the article
explaining the "-program" option.
To obtain the responsible of the component, you can run the [3]
adl_ls_resp command.
Options
adl_ls_fw accepts the following options:
-h|-help|-? |
Help of the command |
-mod |
Look for contained modules and contained data components |
-all |
Look for components attached in any workspace of the workspace hierarchy |
-ws workspace_name |
Name of the workspace |
-tree ws_tree_name |
Name of the workspace trees |
-program |
Display for programs |
-sep | -separator |
Separator character between each field for programs (default value is
blank) |
-out file_path |
Path of a file for writing the results |
-xml |
Display in XML format |
Necessary context
If a framework is specified:
- If the name of a framework is given, if the “-ws” option is used, or
if there is no current image, the framework given as parameter must
necessarily be the name of a framework and not a path: 'Fw1', 'Fw2'...
- If a current image exists, the frameworks given as parameter are treated
as path, even if no directory exists: if the command is run below the
relative current path of the image, './Fw1/Mod1.m', adl_ls_fw '../../Fw2'
looks for a framework named 'Fw2'
Examples
Display of all the frameworks of the current workspace
"MyWs":
adl_ch_ws MyWs adl_ls_fw Component Type Attachment Resp. Ws tree
----------------------------------------------------------------------------------------
AdeleConfigManagement Fw Attached cga TOOLSSDF AdeleConfigManagement.tst
Fw Attached cga TOOLSSDF AdeleSiteManagement Fw Attached yr TOOLSSDF
AdeleTools Fw Attached cga TOOLSSDF
|
Display of all the frameworks of the current workspace
"MyWs", in a program mode. The output is sent to the file
"MyFile"
adl_ch_ws MyWs
adl_ls_fw -program -out MyFile
Here is the content of the "MyFile" file:
AdeleConfigManagement Fw 1 cga TOOLSSDF g5uL+u72f
Component1Id
AdeleConfigManagement.tst Fw 1 cga TOOLSSDF g5uL+u72f Component2Id
AdeleMultiSite Fw 1 ygd TOOLSSDF g5uL+u72f Component3Id
AdeleTools Fw 1 cga TOOLSSDF g5uL+u72f Component4Id |
Display of all the modules of the current workspace:
adl_ls_fw -mod Component Type Attachment Resp. Ws tree
----------------------------------------------------------------------------------------------------
AdeleConfigManagement Fw Attached cga TOOLSSDF
AdeleConfigManagement\data.d Data Attached nle TOOLSSDF
AdeleConfigManagement.tst Fw Attached cga TOOLSSDF
AdeleConfigManagement.tst\FunctionTests Data Attached cga TOOLSSDF
AdeleConfigManagement.tst\modif_obj.m Mod Attached apa TOOLSSDF
AdeleMultiSite Fw Attached ygd TOOLSSDF AdeleMultiSite\CNext Data
Attached ygd TOOLSSDF AdeleMultiSite\CNext.specifics_UNIX Data Attached
ygd TOOLSSDF AdeleMultiSite\CNext.specifics_Windows_NT Data Attached ygd
TOOLSSDF AdeleMultiSite\data.d Data Attached ygd TOOLSSDF
AdeleMultiSite\GNUtar.mext Mod Attached ygd TOOLSSDF AdeleTools Fw
Attached cga TOOLSSDF AdeleTools\ADLCleanUserLog.m Mod Attached cga
TOOLSSDF AdeleTools\CNext Data Attached cga TOOLSSDF
AdeleTools\CNext.specifics_UNIX Data Attached cga TOOLSSDF
AdeleTools\CNext.specifics_Windows_NT Data Attached cga TOOLSSDF
AdeleTools\data.d Data Attached cga TOOLSSDF
|
References
History
Version: 4 [Oct 2002] |
Document update: add reference to adl_ls_resp |
Version: 3 [Nov 2001] |
Document update |
Version: 2 [June 2001] |
Document update: -program option |
Version: 1 [Feb 2001] |
Document creation |
Copyright © 2001, Dassault Systèmes. All rights reserved.