| 
CM Crossroads
Welcome, Guest
Please Login or Register.    Lost Password?
Re: Recommended component baseline from src project? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re: Recommended component baseline from src project?
#92750
cmcewen (User)
Posts: 124
graphgraph
User Offline Click here to see the profile of this user
Recommended component baseline from src project? 1 Month, 2 Weeks ago Karma: 0  
Hi,

Background/History - All components are members of a CBL, this CBL is what the project uses to recommend/rebase/etc.

I have two projects (source / target).
My target project depends on a read-only component from the source project.

In my ant script, I need to rebase this read-only component from the target project. Before I can do so, I need to determine what the 'latest' recommended baseline of the component is in the source project.

Is there a single clearcase command that will return the recommended baseline of the dependent component?

I have tried using combinations of
lsstream and lsbl, but have been unsuccessful.
Please help.

Thank-you
Chris
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#92768
paul.m.browne (User)
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Birthdate: 1967-11-15
Re: Recommended component baseline from src project? 1 Month, 2 Weeks ago Karma: 0  
cleartool man fmt_ccase

Use the rec_bls format
eg.
cleartool lsstream -fmt "%[rec_bls]p" stream_selector

You could also use cleartool desc -fmt ....

Paul Browne
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#92790
cmcewen (User)
Posts: 124
graphgraph
User Offline Click here to see the profile of this user
Re: Recommended component baseline from src project? 1 Month, 2 Weeks ago Karma: 0  
Good Morning,

Thank-you for responding.
I had neglected, in my earlier response, to tell you that I had already run this command.
As all projects are recommending a CBL, this commands, returns the recommended BL of the CBL. What I need, is the member baseline of the component inside the CBL.
Any advise?

Thank-you
Chris
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#92796
paul.m.browne (User)
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Birthdate: 1967-11-15
Re: Recommended component baseline from src project? 1 Month, 2 Weeks ago Karma: 0  
The first part of my answer still applies:
cleartool man fmt_ccase
Try the "depends_on" format mentioned there. I don't think you can do directly what you want, i.e. given a single component name, extract the relevant baseline from the composite baseline.
You will have to write your own loop to parse the output, and maybe use another format option to map the baselines back to components.

Paul Browne
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
If you already have an account on CM Crossroads, Login Now. If you do not, register using the link below...

NOTE: Once you register you will need to activate your account by clicking the link sent to you by email.

Video News

Agile in turbulent times Webinar