Question & Answer
Question
What is the significance of WeakCGTime and StrongCGTime handles in the unit files of IBM Rational Rhapsody?
Cause
When using Rational Rhapsody with any Configuration Management tool, you would like to avoid duplication of unit files which have not been modified.
Answer
Definitions:
- StrongCGTime refers to the units created time in Date::GMT time format
- WeakCGTime refers to the units modified time in Date::GMT time format
Example:
For a Default package [.sbs], the value of WeakCGTime and StrongCGTime would be the same initially.
Consider the scenarios mentioned below:
Scenario 1:
- Add a Class.
- The WeakCGTime would change indicating the time the .sbs file unit has been modified
- However the StronCGTime would remain the same
Scenario 2:
- Edit the class such as adding an attribute
- The WeakCGTime would change of the package as class is an element under the package
- The StrongCGTime would still remain the same
Scenario 3:
- Save the class as a unit
- Making further changes in the class will only change the WeakCGTime of the class and not that of the package as class is a separate unit now
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.1;7.5.1.1;7.5.2;7.5.2.1;7.5.3;7.5.3.1;7.5.3.2;7.6;7.6.0.1;7.6.1;7.6.1.1;7.6.1.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21433222