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 7029419
In Process

The Archive Base Latest Questions

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

In our project we are following agile practices ( Sprint ). So every day

  • 0

In our project we are following agile practices ( Sprint ). So every day nightly build will be done. We are able to ensure the correctness of build till day before formal build. But unfortunately most of the time people are doing some major check-in at final day.

We wanted to lock some of the highly sensitive elements which would cause more trouble.

We do not want to lock the integration stream itself. We just wanted to lock some files and folders automatically. Is there any way to do it using Cleartool , (or cleartool commands in powershell)

  • 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-28T00:32:12+00:00Added an answer on May 28, 2026 at 12:32 am

    I would not recommend locking the vob or the files:

    • both options would lock everything (ie any modification in any branch) for all (or most) users.
    • you need (from the cleartool lock man page) to be the type owner, VOB owner or root to be able to lock the files or a vob: if one of those sensitive files isn’t created by you, the lock will fail (and the vob itself has likely been created by an admin)
    • the maintenance is too cumbersome for files (you need to maintain the list of files you want to lock)

    Locking the stream or at least the branch is still your best option.
    It is one simple atomic operation target to lock the right environment.
    Combined with the -nusers option, you can still authorized some users to do what they need (checkout/checkins)

    The OP comments:

    Actually I want to prevent all the users from delivering those sensitive files.
    If I lock the stream for particular user it will not serve the purpose. It will stop them delivering other files too

    The -nuser option lock for all users except a few.
    The idea behind the integration stream is that is is not the user who make the deliver, but the stream integration owner who, at his/her own time, makes the deliver. If that stream is locked for everyone but the integrator, he/she can control the deliver

    However, that puts the control of those sensitive file on the integrator (again, locking just those file would be a bad idea, and would make sure that any deliver fails, because of those locks)

    If you still want them to deliver while being able to control that the build only use a certain version of those files, then I would rather recommend:

    • not locking the stream
    • putting a baseline before final day
    • tweaking your build script in order for it to:
      • use whatever version found on final day
      • except for those “sensitive files” where the script would fetch their baselined version (and not the LATEST version found on final day, because said LATEST version might have been changed by some final deliver).
        See for instance “Clearcase command to export an element” or
        “In ClearCase, how can I view old version of a file in a static view, from the command line?“.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following scenario came up in our project: We have hierarchical business objects. The
In our project, deployment is always a pain, mostly because of the mistakes done
Suppose we have following packages in our project org.xxx.dao, org.xxx.service, org.xxx.service.impl all the package
We've just started using Sencha's ExtJS 4 in our project and have been following
I am trying to write an ant script which builds our project and will
I've noticed in our project the following use of a Common Table Expression to
We have the following requirement in our project. On click of a link, A
Hi guys we have following structure in one of our project's pages: <asp:UpdatePanel ID=up1
We have our project stored in subversion in following way: trunk (main development goes
Currently, we're using the following version numbering scheme for our C# winforms project: Major

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.