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

  1. Open the plug-in manifest of the plug-in containing the component implementation.
    1. 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.
    2. 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.
    3. Save the manifest.
  2. Open the custom feature containing the plug-in.
    1. 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.
    2. 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.
    3. Save the feature.
  3. Click the modified component.
    1. 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.
    2. 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.
  4. Save the composite.
  5. Create a DAA containing the upgraded composite and feature.