![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Module properties Topic Summary: Created On: 14-Feb-2007 20:00 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I am new to DXL -
I have a attribute called Build defined at the module level. How can list the full name of all the modules in a project for which the build attribute is set to say 1.0. I will like the function to take the Build Attribute as a parameter so that when i run this funtion it ask me for the Build Attribute and get me the results so that i can find out at any given point which modules belong to which build. Is this possible thru dxl. Any help is appreciated |
|
![]() |
|
![]() |
|
I have a preference for instead of all modules in a project ..err.. more specifically in the current project, just about all my scripts deal with modules in the current folder and below. This lets you have perhaps a 'requirements' folder sibling to a 'testing' folder; modules in one are fundamentally different than modules in the other.
Finding modules in a project is a bit awkward and non-intuitive when read in the DXL manual. You need to deal with Items. You'll need a function like the one attached. Given that function you'll have all the names of modules. Then you can open each module, extract the Build, and go from there: mod = read(NameFull, false) if (null mod) log cannot open module error Build = mod."Build" close(mod) - Louie |
|
![]() |
|
![]() |
|
Hi Louie -
Thanks a lot for the Module name retrival function. This is my second day going thru the dxl manual. Hope you can answer the second part of the question - is it possible to display a GUI window or a pop up window that request the build id to run the script againt. Rakesh |
|
![]() |
|
![]() |
|
Just create a dialog box with a list. In the list put the module names that meet the condition you want. Or put a field in the dialog box that lets you enter the build number you wish and then have it populate the list.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 15-Feb-2007 at 14:33 by David Pechacek |
|
![]() |
|
![]() |
|
Hi Louie - thanks for the script. |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Module properties
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.