Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 315615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:18:28+00:00 2026-05-12T08:18:28+00:00

We are using clearcase as our SCM. I have not much experience with clearcase.

  • 0

We are using clearcase as our SCM. I have not much experience with clearcase. Now we are about to release our code to production. I want to label my code as I have done using VSS in my previous projects. But in clearcase labeling is not as easy as in VSS. clearcase is asking to create a label type before label a folder in VOB. I don’t understand the concept of creating label type? Any guidance on this will be highly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T08:18:28+00:00Added an answer on May 12, 2026 at 8:18 am
    • a lbtype is a template, a declaration.

    • a label is the instance that will be put on each versions needed to be labeled.

    See mklbtype

    The mklbtype command creates one or more label types with the specified names for future use within a VOB.
    After creating a label type in a VOB, you can attach labels of that type to versions of that VOB’s elements, using mklabel.

    You also can attach a constraint on a lbtype:

    By default, a new label type is constrained to use on only one version in an element’s entire version tree.
    This allows you to omit the branch path name portion of a version-extended path name (for example, foo.c@@/JOHN_TMP)


    Once you have define a lbtype, you can apply (mklabel) it to any file or group of files you want in your current view.
    That means you have a view configured to select the LATEST of a branch, and at a given time, you apply this label:

    cd /myView/myVob/myGroupOfFile
    cleartool mklabel -nc -r MY_LABEL-1.0 .
    

    Note: the name of the lbtype (and the labels set from this lbtype) is entirely up to you. You can set a label FOO, BAR or any other names. Conversely, you can set a label MY_LABEL-2.0, then set a label MY_LABEL-1.2 (not wise, but…).

    If you want to see what exact versions are referenced by a previous existing label like MY_LABEL-1.0, you create another (dynamic) view that you set to see this label.
    The following config spec (“configuration specifications”, aka “selection rules” for versions) will achieve just that:

    element * MY_LABEL-1.0
    element * /main/LATEST
    

    The second selection rule is called “stop rule” because it allows for all versions to “fall back” to this default rule: if no version (for a given file) is labeled MY_LABEL-1.0, then it will always stop at the “/main/LATEST” rule, to select the LATEST version of the branch main.

    For those “consultation” view (i.e. “view that are only used to see versions of files”), I recommend dynamic view, for a quick access to those fixed versions.
    If you now want to see the 2.0 label, simply modify the config spec of this view. Or create another view, in order to see both 1.0 (in the first view) and 2.0 (in this second new view)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a client who is rather insistent about using Clearcase. Are there any
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
We use ClearCase at my workplace. Part of our standard process when code is
Using Rational ClearCase v. 7.0.1.1 with UCM, I have a problem here when using
I have a bad fortune of using ClearCase with UCM at work. We try
I'm looking for information about support for using ClearCase in Visual Studio 2010, I'm
Using the ClearCase find command, how do I find all files in a directory
I work in an multi-site environment that's currently using Rational ClearCase for source control
Using online interfaces to a version control system is a nice way to have
I'm struggling with using ClearCase at my current job and it's a REAL pain,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.