Community
Participate
Working Groups
Created attachment 95066 [details] patch to add update descriptor for feature.jar IUs Currently, when you generate metadata for an site.xml-style update site, the group as well as all IUs have associated update descriptors generated for them. Is it intentional that the feature.jar that is generated from MetadataGeneratorHelper.createFeatureJarIU() does not set the update descriptor? When doing an update flow using site.xml style update sites, by not having the update descriptor, the jar is considered as a remove and add operation as opposed to an update which looks a bit odd when presented to the user, and causes a slightly different code path when performing the update. The code in OperationGenerator.generateUpdates() will not consider anything an update that does not have an update descriptor. While the provisioning still appears to do the right thing, the right fix seems to be including the update descriptor. Attached is a patch that configures the update descriptor for the metadata generator.
Patch released in HEAD.