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: Transfering links
Topic Summary: Transfering links from older module to updated module
Created On: 8-Dec-2005 21:25
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 Tony Goodman, on Saturday, December 24, 2005 9:54 PM

Answer:
The attached shows how this can be done quite simply using skip lists.
Hope this helps.
 8-Dec-2005 21:25
User is offline View Users Profile Print this message


Taner ASLAN

Posts: 5
Joined: 7-Oct-2004

 We have two modules that are linked one to another. The upper module that have in-links is updated externally. the modules have requirements and requirement ID as object text and seperate attribute respectively. We want to transfer links from older module to updated one by using the identical and unique Requirement ID attribute.  Is there a way to transfer links ?
Report this to a Moderator Report this to a Moderator
 8-Dec-2005 22:24
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

There was some kind of "capture5.dxl" script that captured information about outgoing links. If so, do this: [1] capture5.dxl all the link information in the source lower module. [2] Delete and purge the target upper module [3] restore the new target upper module, using the exact same name [4] link-by-attribute from the lower older module, using the captured information attributes from [1].

- Louie
Report this to a Moderator Report this to a Moderator
 9-Dec-2005 07:01
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

There's a example DXL script supplied with DOORS which can copy links from one module to another, check for linkcopy.dxl
lib\dxl\example directory ( both for 7.1 and 8.0). Another way of finding this script is to browse the DXL Library, in module
menus select Tool / DXL Libary.

Start of this script is as follows:

// Example to copy incoming or outgoing links from one module to another

// Header: /DOORS/lib/dxl/example/linkcopy.dxl

// Copyright 2002 Telelogic AB. All rights reserved.
// See DOORS manuals for copying conditions.
// Copy this file to a different location before modifying it. You may also
// need to amend the paths to any #include files for this script to work -
// these are contained in a subdirectory called include

/*
Assumes that modules are versions of one another, so that object identifiers
are the same in both modules (with some added, and some deleted).
*/

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/
Report this to a Moderator Report this to a Moderator
 9-Dec-2005 09:08
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Taner, I am reading between the lines here. When you talk about the unique requirement ID are you referring to the DOORS absolute number, or are you referring to an ordinary attribute that is manually set in the external module?

If you are using the absolute number, then you have no problem using the link by attribute tool to recreate the links.

If, howeveer you are using a user-defined attribute then you may need custom DXL to compare attributes. You cannot rely on the object in the external module matching those in the original, so you will need error checking to ensure that all objects are handled correctly.

Take a look at the compare modules tool.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 10-Dec-2005 19:11
User is offline View Users Profile Print this message


Taner ASLAN

Posts: 5
Joined: 7-Oct-2004

Tony,  unique requirement ID is ordinary attribute that is set in external module.

Compare module tool is just compares the attribute and indicates the differences, it doesn't transfer links between the compared modules.


Thanks for help,
Taner ASLAN
Report this to a Moderator Report this to a Moderator
 12-Dec-2005 09:06
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Answer Answer
The attached shows how this can be done quite simply using skip lists.
Hope this helps.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 20-Jan-2006 13:29
User is offline View Users Profile Print this message


Anton Drexler

Posts: 25
Joined: 9-Dec-2003

Hi Taner,

have you ever heard about DOORS eXchange? DOORS eXchange is a tool to exchange modules between DOORS databases, and particularly to update an existing copy of a module to its actual status. In doing this, eXchange also marks the changes from the earlier version of your customer's module to the most recent one.

And what is more: the links you have drawn from your modules to the copies of your customer's modules are kept, which means you don't have to redraw the same links once more.

The prerequisite for the use of eXchange, however, is that you have RMCD access to the copies of your customer's modules, as eXchange, of course, actually performs changes in those modules.

Contact your Telelogic representative to learn about DOORS eXchange!

Regards
Toni
Report this to a Moderator Report this to a Moderator
 20-Jan-2006 13:37
User is offline View Users Profile Print this message


Hubertus Grobbel

Posts: 58
Joined: 3-May-2005

Hi Toni,

one method of application is, that you get the away module with RMCD rights and you apply DOORS eXchange. The other method is, that you are only provided by the exchange-file generated by the customer, who of course has the necessary rights to do so. The module remains in this case in his hands...

Best Regards
Hubertus
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.