We're using RAD with ClearCase plugin as "ClearCase Explorer Perspective". I need to make a new main version of a java project. For that reason, I want to change main/0 version to ie. main/1. How can I forward version from top-level? I tried to make new project by using "Project Explorer" creating new stream. It required previous baselines. However, when I checkin from this new project stream, it branches from the given baseline version(say 1) like below.
main
|
0
|
MyProj1_Integration
|
0
|
1(BL)---MyProj2_Integration
| |
2 0
|
1
I want it to be like:
main
0 ------------------- 1
| |
MyProj1_Integration MyProj2_Integration
| |
0 0
| |
1(BL 1
|
2
When inspecting versions from ClearCase Explorer version numbers are shown like below:
/main/MyProj1_Integration/MyProj2_Integration/1
I expect to see:
/main/MyProj2_Integration/1
Also, I want to include latest versions of files from previous branch to the new branch. How can I achieve that? Do I need to create a new VOB?
/main/0
is only accessible from the 'INITIAL
' baseline.
That means you need to have on your MyProj2_Integration
an baseline ending with _INITIAL
.
Only that foundation baseline will branch from /main/0.
Once you have that configuration, you will then be able to make a 'deliver' from 'MyProj1_Integration
' to 'MyProj2_Integration
', in order to get back the latest versions of your first project in the new branch 'MyProj2_Integration
'.
来源:https://stackoverflow.com/questions/3237191/how-can-i-branch-main-node-of-a-ucm-project