Do we have a command line to Lock/unlock the stream in RTC 6.0.2?
Need to lock stream at the start of build and unlock at end of build.
is there is any ANT task/RTC command line to lock/unlock streams.
It would be good if we have an option in the build definition to lock the stream while starting the build.(similar to accept changes in repo before build) I understand that build definition never consider the stream and also has impact on personal build. Guess we can handle this in build definition.(just a suggestion)
Accepted answer
There is no Ant Task available to lock a stream, however there is an SCM CLI (Command Line Interface) command to lock a stream/component (added in RTC 6.0.2). See the 'scm set lock' command.
See:
-SCM Command Line Client 'set lock' command: https://www.ibm.com/support/knowledgecenter/SSCP65_6.0.4/com.ibm.team.scm.doc/topics/set_lock.html
-New & Noteworthy Mention of Stream/Component Locking: https://jazz.net/downloads/rational-team-concert/releases/6.0.2?p=newsDetails#stream-locking
-Stream/Component Locking Demo Video: https://www.youtube.com/watch?v=b8QwzwUF2ZY
One other answer
Comments
Apparently in 6.0.2 locking on stream and component level was added. https://jazz.net/downloads/rational-team-concert/releases/6.0.2?p=news
Hi Ralph,