RifDefinition (Doors 9.3)

Hi all,
Does exist a possibility to create or to delete a RifDefinition?

Thank you in advance!
VBdo - Mon Feb 14 07:43:10 EST 2011

Re: RifDefinition (Doors 9.3)
Mathias Mamsch - Mon Feb 14 08:34:12 EST 2011

The following perms come to my eye (without having the possibility to check in DOORS 9.3 for myself):
 

RifDefinition createTemp (RifDefinition)
 
void ::do (RifDefinition&, ModName_, void) // for RifDefinition in ModName_ do ...
void ::do (RifDefinition&, Project, void)  // for RifDefinition in Project do ...
 
RifDefinition ::. (RifExportRecord, RifExportRecordDef_)
RifDefinition ::. (RifImport, RifImportDef_)
 
void deleteTemp (RifDefinition&)

 


Maybe this helps for experimenting, regards, Mathias

 

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

 

Re: RifDefinition (Doors 9.3)
VBdo - Tue Feb 15 05:03:42 EST 2011

Mathias Mamsch - Mon Feb 14 08:34:12 EST 2011

The following perms come to my eye (without having the possibility to check in DOORS 9.3 for myself):
 

RifDefinition createTemp (RifDefinition)
 
void ::do (RifDefinition&, ModName_, void) // for RifDefinition in ModName_ do ...
void ::do (RifDefinition&, Project, void)  // for RifDefinition in Project do ...
 
RifDefinition ::. (RifExportRecord, RifExportRecordDef_)
RifDefinition ::. (RifImport, RifImportDef_)
 
void deleteTemp (RifDefinition&)

 


Maybe this helps for experimenting, regards, Mathias

 

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

 

Can you help me a little more detailed?
I was not able to do it.

Thank you

Re: RifDefinition (Doors 9.3)
Mathias Mamsch - Tue Feb 15 08:04:23 EST 2011

VBdo - Tue Feb 15 05:03:42 EST 2011
Can you help me a little more detailed?
I was not able to do it.

Thank you

Unfortunately I don't have access to a DOORS 9.2-1 installation, which has the RIF perms and did not really play with RIF yet. Your question was: "How can I create a RifDefinition?". I looked at the DXL perms and saw that there are exactly 3 functions that will enable you to create a variable of type RifDefinition. So without trying the following code should do something:
 

Project p = current 
if (null p) {ack "Start this from a project."; halt }
RifDefinition def = null
for def in p do print "Name: " (def.name) " Description: " (def.description) "\n"

 


What it does I could only tell you with access to DOORS 9.2-1+ and a dxl reference manual for that version ;-). What exactly do you want to achieve? Can you elaborate on your question? Maybe someone else with DOORS 9.2+ experience can jump in here ...

Regards, Mathias

 

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

 

Re: RifDefinition (Doors 9.3)
VBdo - Tue Feb 15 08:30:21 EST 2011

Mathias Mamsch - Tue Feb 15 08:04:23 EST 2011

Unfortunately I don't have access to a DOORS 9.2-1 installation, which has the RIF perms and did not really play with RIF yet. Your question was: "How can I create a RifDefinition?". I looked at the DXL perms and saw that there are exactly 3 functions that will enable you to create a variable of type RifDefinition. So without trying the following code should do something:
 

Project p = current 
if (null p) {ack "Start this from a project."; halt }
RifDefinition def = null
for def in p do print "Name: " (def.name) " Description: " (def.description) "\n"

 


What it does I could only tell you with access to DOORS 9.2-1+ and a dxl reference manual for that version ;-). What exactly do you want to achieve? Can you elaborate on your question? Maybe someone else with DOORS 9.2+ experience can jump in here ...

Regards, Mathias

 

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

 

At the moment I use one in Doors available rifdefinition.
Your last code selects available rifdefinition.
Strictly speaking I would like to write rifdefinition.(for Exporting)

Thanks

Re: RifDefinition (Doors 9.3)
Mathias Mamsch - Tue Feb 15 08:53:35 EST 2011

Mathias Mamsch - Tue Feb 15 08:04:23 EST 2011

Unfortunately I don't have access to a DOORS 9.2-1 installation, which has the RIF perms and did not really play with RIF yet. Your question was: "How can I create a RifDefinition?". I looked at the DXL perms and saw that there are exactly 3 functions that will enable you to create a variable of type RifDefinition. So without trying the following code should do something:
 

Project p = current 
if (null p) {ack "Start this from a project."; halt }
RifDefinition def = null
for def in p do print "Name: " (def.name) " Description: " (def.description) "\n"

 


What it does I could only tell you with access to DOORS 9.2-1+ and a dxl reference manual for that version ;-). What exactly do you want to achieve? Can you elaborate on your question? Maybe someone else with DOORS 9.2+ experience can jump in here ...

Regards, Mathias

 

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

 

Ok I had a look at the 9.3 dxl help, and there seems to be missing some information I guess.

Maybe something like the following will work:
 

RifDefinition rifDef
        Project p = current 
        strErrMsg = createRifDefinition(p, "Definition Name", "Description", "YourRifID", rifDef)

 


As I said, I have no possibility to try ... Regards, Mathias

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

Re: RifDefinition (Doors 9.3)
VBdo - Tue Feb 15 09:09:49 EST 2011

Mathias Mamsch - Tue Feb 15 08:53:35 EST 2011

Ok I had a look at the 9.3 dxl help, and there seems to be missing some information I guess.

Maybe something like the following will work:
 

RifDefinition rifDef
        Project p = current 
        strErrMsg = createRifDefinition(p, "Definition Name", "Description", "YourRifID", rifDef)

 


As I said, I have no possibility to try ... Regards, Mathias

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

Interesting, but without funktion and without error message.
Have you a other idea?

Thanks

Re: RifDefinition (Doors 9.3)
Mathias Mamsch - Tue Feb 15 10:30:54 EST 2011

VBdo - Tue Feb 15 09:09:49 EST 2011
Interesting, but without funktion and without error message.
Have you a other idea?

Thanks

Hmm ... maybe try:
 

Project p = current 
RifDefinition pkg = createTemp("My Package Name", "My Description")
string errorMsg = addModuleToRifDefinition(pkg, moduleVersion current Module, "", "", ddcNone)
errorMsg = saveTemp(pkg,p)

 


Other than this I am pretty much out of ideas :-) Regards, Mathias

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

Re: RifDefinition (Doors 9.3)
VBdo - Wed Feb 16 08:21:51 EST 2011

Mathias Mamsch - Tue Feb 15 10:30:54 EST 2011

Hmm ... maybe try:
 

Project p = current 
RifDefinition pkg = createTemp("My Package Name", "My Description")
string errorMsg = addModuleToRifDefinition(pkg, moduleVersion current Module, "", "", ddcNone)
errorMsg = saveTemp(pkg,p)

 


Other than this I am pretty much out of ideas :-) Regards, Mathias

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

When I have tried out yours code, I agreed the following mistake:

"-R-E- DXL: <Line:3> null Module parameter was passed into argument position 1
-I- DXL: execution halted"

I played with it a little,

string mName = "/New_Project/00 Test"
ModName_ modN = null
Module m = null
modN = module(mName)
Project p(string New_Project)
RifDefinition pkg = createTemp("My Package Name", "My Description")
string errorMsg = addModuleToRifDefinition(pkg, moduleVersion(mName), "", "", ddcNone)
errorMsg = saveTemp(pkg,p)

 


and agreed the following mistake:

"-E- DXL: <Line:12> incorrect arguments for function (saveTemp)
-I- DXL: All done. Errors reported: 1. Warnings reported: 0."

excuse my ignorance.
thanks

 

Re: RifDefinition (Doors 9.3)
Mathias Mamsch - Wed Feb 16 11:11:26 EST 2011

VBdo - Wed Feb 16 08:21:51 EST 2011

When I have tried out yours code, I agreed the following mistake:

"-R-E- DXL: <Line:3> null Module parameter was passed into argument position 1
-I- DXL: execution halted"

I played with it a little,

string mName = "/New_Project/00 Test"
ModName_ modN = null
Module m = null
modN = module(mName)
Project p(string New_Project)
RifDefinition pkg = createTemp("My Package Name", "My Description")
string errorMsg = addModuleToRifDefinition(pkg, moduleVersion(mName), "", "", ddcNone)
errorMsg = saveTemp(pkg,p)

 


and agreed the following mistake:

"-E- DXL: <Line:12> incorrect arguments for function (saveTemp)
-I- DXL: All done. Errors reported: 1. Warnings reported: 0."

excuse my ignorance.
thanks

 

Hmm that project definition looks strange: You are making a function forward declaration out of p. I think you meant:
 

Project p = project "/New_Project"
string mName = "/New_Project/00 Test"
ModuleVersion mv = moduleVersion module mName 
RifDefinition pkg = createTemp("My Package Name", "My Description")
string errorMsg = addModuleToRifDefinition(pkg, mv, "", "", ddcNone)
errorMsg = saveTemp(pkg,p)

 


Regards, Mathias

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

Re: RifDefinition (Doors 9.3)
VBdo - Thu Feb 24 04:34:01 EST 2011

Mathias Mamsch - Wed Feb 16 11:11:26 EST 2011

Hmm that project definition looks strange: You are making a function forward declaration out of p. I think you meant:
 

Project p = project "/New_Project"
string mName = "/New_Project/00 Test"
ModuleVersion mv = moduleVersion module mName 
RifDefinition pkg = createTemp("My Package Name", "My Description")
string errorMsg = addModuleToRifDefinition(pkg, mv, "", "", ddcNone)
errorMsg = saveTemp(pkg,p)

 


Regards, Mathias

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 

Hi again,

I have not surrendered yet.
Last code had the following mistake:
null RifDefinition parameter was passed into argument position 1
in line: "string errorMsg = addModuleToRifDefinition(pkg, mv, "", "", ddcNone"
Then I have tried the following:

RifDefinition pkg
RifModuleDefinition rmdef
Project p = project "/test"
string s
string mName = "/test/test"
ModuleProperties mp
ModuleVersion mv = moduleVersion (module mName)
mv = moduleVersion (module mName)
for pkg in p do{
 
      createRifDefinition(p, "Definition Name", "Description", "YourRifID", pkg)
        
                for rmdef in pkg do { 
                
                        addModuleToRifDefinition(pkg, mv, "ion Name", "ipti", ddcNone)
        } 
}


This brought no mistake and also no success.
Does somebody still have ideas?
Thank you

Re: RifDefinition (Doors 9.3)
Mathias Mamsch - Thu Feb 24 05:23:38 EST 2011

VBdo - Thu Feb 24 04:34:01 EST 2011

Hi again,

I have not surrendered yet.
Last code had the following mistake:
null RifDefinition parameter was passed into argument position 1
in line: "string errorMsg = addModuleToRifDefinition(pkg, mv, "", "", ddcNone"
Then I have tried the following:

RifDefinition pkg
RifModuleDefinition rmdef
Project p = project "/test"
string s
string mName = "/test/test"
ModuleProperties mp
ModuleVersion mv = moduleVersion (module mName)
mv = moduleVersion (module mName)
for pkg in p do{
 
      createRifDefinition(p, "Definition Name", "Description", "YourRifID", pkg)
        
                for rmdef in pkg do { 
                
                        addModuleToRifDefinition(pkg, mv, "ion Name", "ipti", ddcNone)
        } 
}


This brought no mistake and also no success.
Does somebody still have ideas?
Thank you

Can you give me your email address? (mmamsch @ googlemail dot com) I might have some information I can send to you, which I cannot make public. Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: RifDefinition (Doors 9.3)
VBdo - Thu Feb 24 05:42:46 EST 2011

Mathias Mamsch - Thu Feb 24 05:23:38 EST 2011
Can you give me your email address? (mmamsch @ googlemail dot com) I might have some information I can send to you, which I cannot make public. Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

I have sent you a mail from Web.de,

Thank you