I have two requirements modules imported by me from Customer's Rev A and Rev B documents. Using standard DOORS feature, I can compare these two modules and see changes, updates to requirements in a new column created by DOORS module comparison wizard.
If not, is there a simple DOORS DXL program, that I can use to accomplish, please? Or is it possible to give, simple outline of a DXL program that can be improved easily and quickly please? I have DOORS 9.5 version.
MikeMelon - Tue Oct 07 22:13:59 EDT 2014 |
Re: How to compare, merge two DOORS modules? In the above question, the modules DO NOT have any links.
|
Re: How to compare, merge two DOORS modules?
( This is not a merge anymore ...
And my last tip ... parse your module once per object level o:) |
Re: How to compare, merge two DOORS modules? MikeMelon - Wed Oct 08 03:03:01 EDT 2014 In the above question, the modules DO NOT have any links.
You could of course do this, but you would not gain anything from that approach: assume Revision A contains 10 paragraphs. assume Revision B contains 12 paragraphs. three paragraphs have been removed, 5 new ones have been inserted, 4 have been changed, 3 have not been changed.
When you import Revision A to DOORS, they objects' absolute numbers will range from 1 to 10. Now you baseline, empty and refill your module with Revision B. the new objects' absolute numbers will range from 11 to 22. You would have no information available that tells you whether the old object "1" has changed or not.
The main problem here is to identify corresponding paragraphs / requirements / textual information / pictures / tables etc. I'm afraid there is no easy solution for your problem.
|
Re: How to compare, merge two DOORS modules? I don't use the compare wizard, so I presume it creates a Layout of differences. This only works if the modules have common ancestory which results in objects with the same absolute number (or Object ID) as being the same object. If that is true, I wonder how it "displays" a new object in B... Anyway, you could edit the layout such that when it finds matching objects, just display the "B" value instead of comparing, which it probably does with the "diff" function. When that column looks right, edit the DXL again, when there are paired objects don't just display the B value, also set it the A Object Text. I DXL to do this has some serious problems, mostly dealing with objects that are in different places in B than in A (they moved a section). Once you figure that out, you can find and remember corresponding objects (with the same AbsNo) and set the A text. Then use a two-fingered algorith (oA = next(oA); oB = next(oB)) finding objects that are not paired. If A exists and not B, then either delete (oA) or set the text to "DELETED". If B exists but not A, you'll need to insert a new object in A to correspond to B. Inserting and object will force you to keep track of the "previous" object in A for each level, which you can do with a stack. Yuuuuuck. -Louie
|