Using work item packaging with IBM Rational Team Concert 4.0.3 on IBM i, if a build has a change to a file or program, only the edited source will be picked up in the package even though the build is recompiled successfully.
The package will not include the complete build elements.
This also occurs with IBM Rational Team Concert on IBM i with work item promotion.
This is currently working as designed.
Work item packaging packages the direct outputs of the changes associated to that work item.
If other outputs are rebuilt due to that original rebuilt object, those objects will not be picked up.
For example, if an RPGLE file is modified and compiled to a module, work item packaging will package only that module. Any PGMs or SRVPGMs that are rebuilt will not be packaged even though the module is rebuilt. To include the PGMs or SRVPGMs, the member that is used to compile those programs must be found and associated with another work item or the same work item used. Then, all elements will be packaged together.
Resolving the problem
- Add the missing items manually with Include in the work item packaging dialog
- Add the other objects in a separate work item and add that work item to the work item packaging or promotion.