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 Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg22004524