Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Displaying Formal Modules
Topic Summary:
Created On: 5-Mar-2003 13:07
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 5-Mar-2003 13:07
User is offline View Users Profile Print this message


Wayne Burrell

Posts: 6
Joined: 31-Jan-2003

Attached is a script that was based on the QSS authored script "Viewproj.dxl". I've been trying to figure out how to modify it to ONLY display Formal Modules. The script collects & records the following in information:
Creates a list of the modules that are in the current project.
Attaches internal links between listed modules and shows the link
relationships between each of the modules in the project.

Currently, when the script runs, its output displays all modules (formal, descriptive, and link). I'd like it to display formal modules only. I haven't had much luck.

Wayne
Report this to a Moderator Report this to a Moderator
 5-Mar-2003 19:25
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Wayne,

Try commenting out the following four lines:

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 5-Mar-2003 22:31
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

The "viewproj.dxl" script was written for DOORS 4, and needs to be updated to run in DOORS 5 and above. After taking a brief look at the original DOORS 4 "vierproj.dxl", I have made the following observations:

(1) To trace links, the script MUST have the link modules named under the third heading "Links" in the "Overview" module.

(2) The script must be updated to reconcile the difference between the "name" of a Module and the "fullName" (name+pathToProject) of the Modules.

For example, the following line:

put(pvModToObjSkip, mod_name, mod_obj)

in pvUpdateModule() inserts the "name", while the following lines

src_mod = obj."Source"
trg_mod = obj."Target"

from pvUpdateLink() return the "fullName" of the module, so the

if (!find(pvModToObjSkip, src_mod, src_obj))
if (!find(pvModToObjSkip, trg_mod, trg_obj))

commands will never work because the string names do not match.

You must update the script so that you are consistently either using the "name" or the "fullName" of the modules throughout.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.