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: treport.dxl
Topic Summary: modify for incoming or outgoing link object text
Created On: 22-Aug-2007 17:09
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.
 22-Aug-2007 17:09
User is offline View Users Profile Print this message


john kemege

Posts: 14
Joined: 8-Jan-2007

I've been using the treport.dxl to trace requirements and output the results into a text file.  I would like to modify this script to be able to perform the trace for either the incoming or outgoing object text items.  I'm not sure if this is possible(?) or if this script could be modified to follow a link and report the object text for multiple levels?
thanks!
Report this to a Moderator Report this to a Moderator
 22-Aug-2007 17:44
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

It's possible, but you likely won't have people volunteering to do your customization for you.

If you want to just do incoming links instead of outgoing, change this line:

for l in s->"*" do

to

for l in s<-"*" do


That should at least get you started.

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 22-Aug-2007 21:35
User is offline View Users Profile Print this message


john kemege

Posts: 14
Joined: 8-Jan-2007

When I changed treport.dxl to:
for l in s<-"*" do

and used these function calls:

doColumn("Object Text", "s")
doColumn("Object Text", "d")

the 'same' Object Text was returned for each coColumn call; 
not smart enough yet to figure out why....?

Report this to a Moderator Report this to a Moderator
 23-Aug-2007 08:08
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

Without having the original source code of treport.dxl at hand, I am just guessing that there is a line like "tObj = target(sObj)" identifying the target object of the outgoing link. Now, if you changed to incoming links, "target" must be replaced by "source".

Peter
Report this to a Moderator Report this to a Moderator
 23-Aug-2007 13:35
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

Peter is right. Two lines to look at:


string modname = fullName(target l)

and

Object d = target l


Change the "target" there to "source" and you should be ok.

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 23-Aug-2007 14:40
User is offline View Users Profile Print this message


john kemege

Posts: 14
Joined: 8-Jan-2007

Thanks for the help and here's what I came up with...
works for most of the links, not sure what is inhibiting the outputting of  'all' of links are not being reported by this code...
but its a start; thanks again for the tips! 
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.