As you create new projects, you may need to create new versions of existing projects. For example, suppose you have released version 3.0 of the Webotrans project and are planning for version 3.1. You anticipate that version 3.1 will use the same components as version 3.0. Therefore, you want to use the latest baselines in the version 3.0 components as the foundation baselines for version 3.1 development.
If the existing project contains numerous components, you may want to create a composite baseline that selects the final baselines of those components before you create the new project. This composite baseline serves as a single starting point for teams that want to start their work from the final approved baselines of the existing project. To create such a composite baseline, perform the following steps:
Create a component that does not have a root directory in a VOB. See Creating a Component for Storing the Project Baseline.
Add the initial baseline of the component to the integration stream. See Adding Components.
In the component, create a composite baseline that selects baselines of all other components in the project. See Creating the Composite Baseline That Represents the Project.
Recommend the composite baseline. See Recommending the Baseline.
Because your project is a new version of an existing project and uses the same components as the existing project, do not create a new PVOB for this project. Continue to use the existing PVOB.
Start the New Project Wizard, as described in Creating the Project, to create the project.
In Step 2 of the wizard, select Yes to indicate that the project begins from the baselines in an existing project. Then navigate to the project that contains those baselines. Figure 27 shows that the new project is based on the baselines in the OM_proj1.0_Integration stream.
Figure 27 Step 2 of New Project Wizard
Step 3 lists the latest baselines in the project that you select in Step 2. If you created a composite baseline to capture the final approved baselines in the existing project, select it. You can add baselines from components that are not part of the existing project by clicking Add to open the Add Baseline dialog box. Similarly, you can remove a baseline by selecting it and clicking Remove.
Finish the remaining steps in the wizard as described in Creating the Project.
When you create a new project, ClearCase creates a new integration stream for you. Therefore, you need to create a new integration view to access elements in the integration stream. Create an integration view as described in Creating an Integration View.
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |