![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Command Switches/Registry Topic Summary: Created On: 18-Jun-2004 17:49 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I notice the Registry command "ExportDirectory" command is available in the Registry but NOT available as a command line switch. Are there others?
Anybody know which command line switches are NOT available in the Registry? "cli" and "dxl" seem to be two of them. - Louie |
|
![]() |
|
![]() |
|
key value pairs in the "config" registry key are returned by the getenv() dxl function, but these values are not added to the environment associated with the doors process unless you call setenv(). Commandline parameter settings take precedence over registry values.
so on Windows, the DOORS environment = the win32 environment for the process + config settings + commandline settings command line options which correspond with a DOORS environment variable will persist for the duration of the session. the following environment variables are used by the doors client: DATA LOCALDATA HOME ADDINS ATTRIBUTEADDINS LAYOUTADDINS EXPERT SECURITY LICENSEKEY LICENSESTRING HHPATH HOHPATH DICTIONARY TEMPDICTIONARY PROJECT DEFOPENMODE DEFOPENLINKMODE ARCHIVEDIR EXPORTDIRECTORY BROWSERNAME OLEOPENLIMIT DEBUG HEAP DXLSOCKET2 COMPUTERNAME USERNAME COMPANYNAME PARTITIONLOG these names can be prepended with "DOORS" and getenv() will return the same value. e.g getenv("DATA") returns the same as getenv("DOORSDATA") |
|
![]() |
|
![]() |
|
I did some testing on the "DOORS" versions of these variables and deduced that if there are Command line options, the DOORS version is different from the regular: if "C:\Data" is the default data location but you use "-d "c:\DataTwo" in the command line, variable "data" is the first whereas "DOORSDATA" is the second. If there is no command line option then the two are the same.
|
|
![]() |
|
![]() |
|
yes, DOORS is a bit quirky here
commandline string options are added to the DOORS environment prepended with "DOORS" e.g -dxl option is stored in DOORSDXL. (single-character commandline aliases are expanded first e.g -d becomes -DATA) getenv() only matches command line values if given the long form, but accepts both short and long forms for values in the environment and the config section of the registry. e.g getenv("DOORSDXL") -looks for "-dxl" command line option, then -looks for "dxl" key value in the HKCU and HKLM config sections, then -looks for "DOORSDXL" value in the config section, then -looks for "DOORSDXL" in the win32 environment getenv("DXL") -looks for "dxl" key value in the HKCU and HKLM config sections, then -looks for "DXL" in the win32 environment |
|
![]() |
Telelogic DOORS
» Administration
»
Command Switches/Registry
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.