문제

I need to use DXL to loop through all modules in our database and find out which Rational Change Template each module is using, and possibly switch it to a different one. Can't find any documentation on Change API for DOORS.

도움이 되었습니까?

해결책

I had to contact IBM directly to get this information. But here it is if anyone else needs to do it.

Skip cfgData = createString
string current_template = ""

getModuleConfigurationData(m, cfgData)
find(cfgData, CSINT_CONFIG_USE_TEMPLATE, current_template)
delete cfgData

At this point current_template has the file name of the template that it is configured for. This can be used to compare to existing templates and verify it is set correctly.

Also, if an update is necessary the following function will save the skip list back to the configuration.

put(cfgData, CSINT_CONFIG_USE_TEMPLATE, new_template)
cmSaveModuleConfigurationData(m, cfgData)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top