Troubleshooting
Problem
This technote describes a problem where attempts to perform an interproject deliver results in the error, []There was an error preparing stream for delivery[], when working in IBM® Rational® ClearCase® UCM.
Symptom
An error dialog is displayed while attempting a UCM deliver operation to a stream in another project:
Deliver from Stream
There was an error preparing the stream for delivery.
Cause
This deliver operation contains changes to a component that was not created by the source stream. The source stream acquired these changes from its foundation baseline, which is the baseline currently selected by the stream.
The project does not allow inter-project deliver operations that contain changes from its foundation baselines.
Check the policy setting on the target project and target stream.
Resolving The Problem
TROUBLESHOOTING TIPS:
As the error indicates, check to ensure the correct policy settings on the target project are enabled.
Note: Changing the policy settings at the project level will affect the settings at the stream level, unless per-stream is selected. Thus, enabling a policy at the project level will enable it for all the streams in the project. This is true from the graphical user interface and the command line interface.
GUI
To verify the target project policy settings are enabled, start Project Explorer > right-click the target project > select Policies > Deliver tab > enable Deliver changes from the foundation in addition to changes from the stream:
CLI
1. Check the current properties on the project:
C:\>cleartool lsproject -l project1@\pvob1
project "project1"
2006-07-10T17:17:49-04 by adminn.ccusers@IBM-D15F3483123
...
policies:
POLICY_UNIX_INT_SNAP disabled
POLICY_UNIX_DEV_SNAP disabled
POLICY_WIN_INT_SNAP disabled
POLICY_WIN_DEV_SNAP enabled
POLICY_DELIVER_REQUIRE_REBASE disabled
POLICY_DELIVER_NCO_DEVSTR disabled
POLICY_INTRAPROJECT_DELIVER_FOUNDATION_CHANGES disabled
POLICY_INTRAPROJECT_DELIVER_ALLOW_MISSING_TGTCOMPS disabled
POLICY_INTERPROJECT_DELIVER enabled
POLICY_INTERPROJECT_DELIVER_FOUNDATION_CHANGES disabled
POLICY_INTERPROJECT_DELIVER_REQUIRE_TGTCOMP_VISIBILITY disabled
POLICY_INTERPROJECT_DELIVER_ALLOW_NONMOD_TGTCOMPS disabled
POLICY_CHPROJECT_UNRESTRICTED disabled
POLICY_CHSTREAM_UNRESTRICTED disabled
baseline naming template: basename
2. Enable the policy, POLICY_INTERPROJECT_DELIVER_FOUNDATION_CHANGES:
C:\>cleartool chproject -policy POLICY_INTERPROJECT_DELIVER_FOUNDATION_CHANGES project:project1@\pvob1
Updated policies on project "project1".
For more information project policies, refer to IBM Rational ClearCase Command Reference, or run cleartool man mkproject.
Documentation
Hardcopy can be ordered from the IBM Publications Center
On-line documentation can be found:
2003.06:
7.0:
Distributed Documentation:
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21129904