Re: Recommended component baseline from src project? (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Re: Recommended component baseline from src project?
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|
WHITE PAPERS -- Become a Member and Login and you will never fill out forms again!
Check out the TOOL SPOTLIGHT!
|