Upgrading a Java Component
After you modify a Java component and its implementation you should update the relevant plug-in, feature, and component versions. Observe the following guidelines for updating version components according to the type of modification you make:
- Major - Deleting a property, service, reference, or component and any code changes that are not backward compatible.
- Minor - Adding a property, service, reference or component and any changes that are backward compatible.
- Service - Modifying a property, service, reference, or components that is backward compatible. For example, if you make a minor change to the implementation.
Procedure
-
Open the plug-in manifest of the plug-in containing the component
implementation.
- In the Overview tab, increment the appropriate version component of the plug-in. For example, if you add a property, change 1.0.0.qualifier to 1.1.0.qualifier.
- In the Runtime tab, increment the appropriate version component of the exported package. For example, if you add a property, change 1.0.0.qualifier to 1.1.0.qualifier.
- Save the manifest.
-
Open the custom feature containing the plug-in.
- In the Overview tab, increment the appropriate version component of the feature. For example, if you add a property, change 1.0.0.qualifier to 1.1.0.qualifier.
- In the Plug-ins tab, increment the appropriate version component of the included plug-in. For example, if you add a property, change 1.0.0.qualifier to 1.1.0.qualifier.
- Save the feature.
-
Click the modified component.
- In the General tab, increment the appropriate version component of the component. For example, if you add a property, change 1.0.0.qualifier to 1.1.0.qualifier.
- In the Implementation tab, if the Compute Component Dependencies and Feature Dependencies checkboxes are unchecked, update the version ranges for the component implementation bundle or package and feature as appropriate. For example, if you add a property, change the version range from [1.0.0, 2.0.0) to [1.1.0, 2.0.0). If the checkboxes are checked, TIBCO Business Studio automatically updates the applicable version ranges.
- Save the composite.
- Create a DAA containing the upgraded composite and feature.
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.