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: PUlling the date for a baseline
Topic Summary:
Created On: 21-Apr-2004 19: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.
Answer This question was answered by Natalie Acheson, on Thursday, April 22, 2004 3:07 PM

Answer:
David,

This code will get the date from the most recent baseline:

Baseline recentBase = getMostRecentBaseline(current Module)

Date dateOfBase = dateOf(recentBase )

print dateOfBase

Hope this helps...

><> Natalie <><

P.S. The here are the reference pages for the getMostRecentBaseline funciton:
DOORS 5 DXL Ref Manual pg. 162 (pdf pg. 195)
DOORS 6 DXL Ref Manual pg. 138 (pdf pg. 222)
DOORS 7 DXL Ref Manual pg. 213 (pdf pg. 223)
 21-Apr-2004 19:07
User is offline View Users Profile Print this message


David Rose

Posts: 80
Joined: 10-Oct-2003

I'm trying to pull the date of the last baseline for a metrics script the boss wants. I've been through the DXL Reference Manual without any success. Anyone have any ideas on how to do this?

-------------------------
David A. Rose TSgt USAF
NCOIC System Administration
Report this to a Moderator Report this to a Moderator
 21-Apr-2004 20:52
User is offline View Users Profile Print this message


Natalie Acheson

Posts: 5
Joined: 7-Nov-2002

Answer Answer
David,

This code will get the date from the most recent baseline:

Baseline recentBase = getMostRecentBaseline(current Module)

Date dateOfBase = dateOf(recentBase )

print dateOfBase

Hope this helps...

><> Natalie <><

P.S. The here are the reference pages for the getMostRecentBaseline funciton:
DOORS 5 DXL Ref Manual pg. 162 (pdf pg. 195)
DOORS 6 DXL Ref Manual pg. 138 (pdf pg. 222)
DOORS 7 DXL Ref Manual pg. 213 (pdf pg. 223)
Report this to a Moderator Report this to a Moderator
 22-Apr-2004 14:00
User is offline View Users Profile Print this message


Jobina Johnson

Posts: 55
Joined: 12-Sep-2002

Thanks

I was also trying to figure out how the get the last baseline. I had a script that printed all baselines in the module.



-------------------------


jobina.l.johnson@boeing.com
Report this to a Moderator Report this to a Moderator
 22-Apr-2004 15:16
User is offline View Users Profile Print this message


David Rose

Posts: 80
Joined: 10-Oct-2003

Natalie,

thanks for the assist.

-------------------------
David A. Rose TSgt USAF
NCOIC System Administration
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.