|
|
To specify the packages to upgrade to the new version, use the upgradeMapping attribute. This attribute supplements upgradeVersions by providing the ability to upgrade an old component or package name to the new name. Use upgradeMapping in cases where functionality has moved from one component to another between releases or when the names of the packages in a component change.
To use upgradeMapping:
COMP:vendorCode:componentCode: upgradeMappings = vendorCode:componentCode::versionExprwhere versionExpr is a regular expression. For information about regular expressions, see regexp(TCL). For example:
COMP:SCO:WServer: upgradeMappings = SCO:WServer::^4\\.0\\.0a$
PKG:packageCode: upgradeMappings = vendorCode:componentCode:packageCode::versionExprFor example:
PKG:WServer: upgradeMappings = SCO:WidgetServer:MAN::^3\\.0\\.0$
See also: