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: Scriptable referencing of external items in a VCS
Topic Summary:
Created On: 14-Mar-2005 15:35
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.
 14-Mar-2005 15:35
User is offline View Users Profile Print this message


Phil Schmidt

Posts: 3
Joined: 2-Dec-2004

I am trying to create the ability to reference items in a separate version control system (VCS) within a DOORS module. I have met with some success, but I'm not quite where I want to be yet.

Here's what I have so far: I have created attributes with names of "VCS Database Path", "VCS File Path", "VCS File Name", and "VCS File Revision". I created a view that has only these attributes shown, and made it the default view. I have created a DXL script that can be run from a command line, that will read and export (as ASCII text) the information from the attributes in the module to a file which can then be further processed to extract the specified VCS artifacts. This works fine.

What I am having trouble with is being able to call up any arbitrary view, even if it isn't the default view. I found a note posted by Paul Howsten that indicates this will not be possible, so I'm thinking another approach would be to just scan all the attributes in a module (by object), and export the text from any attribute whose name begins with the string "VCS". Unfortunately, I can't figure out how to just iterate through all the atttributes in a module.

Can anyone give me any pointers here? A solution to either or both problems would be appreciated!

Thanks,
Phil

Report this to a Moderator Report this to a Moderator
 14-Mar-2005 17:40
User is offline View Users Profile Print this message


Jonathan Marshall

Posts: 27
Joined: 10-Apr-2003

Phil,

I think that the attached code shows the loops that you need.

Jon

-------------------------
Jonathan Marshall
EADS Astrium
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.