IBM Support

How to change the load order of API Plugins in IBM Rational Rhapsody

Question & Answer


Question

How do you change the load order of API Plugins in IBM Rational Rhapsody?

Cause

You want to change the load order of the API plugins in your project.

Answer

The profiles are added to the project .rpy file in the order they were   
originally added to the project. This then dictates which plugin is     
loaded first. The only way to modify this load order is to remove the   
profiles and re-add them in a different order.  For example: You add      
TestingProfile and HarmonySE profile to a project. The rpy file shows   
them in that order:                                                     

                                                                        
- Subsystems = { IRPYRawContainer                                       
     - size = 3;                                                        
     - value =                                                          
     { ISubsystem                                                       
         - fileName = "Default";                                        
         - _id = GUID 18428080-83b8-45b6-a1e5-5a55f010fd1b;             
     }                                                                  
     { IProfile                                                         
         - fileName = "TestingProfile";                                 
         - _persistAs =                                                 
         "$OMROOT\\Profiles\\TestingProfile\\TestingProfile_rpy";       
         - _id = GUID 74ef0591-fbb4-4279-a005-822d9597ffc8;             
         - _partOfTheModelKind = referenceunit;                         
     }                                                                  
     { IProfile                                                         
         - fileName = "HarmonySE";                                      
         - _persistAs = "$OMROOT\\Profiles\\HarmonySE";                 
         - _id = GUID 29d4fccc-40d9-4cb3-af8a-d7464f198819;             
         - _partOfTheModelKind = referenceunit;                         
     }                                                                  
 }         
                                                             
                                                                        
The API log then shows the TestingProfile plugin loading before the HarmonySE
plugin. If you remove them and add them back to the project in reverse    
order you see the reverse order in the .rpy file and also in the API log   
load order.                                                             
                                  

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.5;8.0.6;8.1;8.1.1;8.1.2;8.1.2.1;8.1.3;8.1.4;8.1.5;8.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg22004524