how to check out all versions of starTeam version tool. I wanted to check out all versions for particular file and that way i wanted to do it for all of my files on production server. can anyone suggest what are the available options.
how to check out all versions of starTeam version control tool
1.1k Views Asked by Chinu At
1
There are 1 best solutions below
Related Questions in VERSION-CONTROL
- Setting up the version control of .dotfiles while the .config is connected to a forked repo
- How can i redirect pull request from main branch to another branch
- Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin
- Handle workspace/monorepo with different deployments
- P4 change ownership through command line
- gitignore for Unity VR project does not work
- Different SDK for specific build
- Sourcetree GUI : Why main branch is behind another branch? Is it normal?
- Strongly Connected Components Using Kosaraju Algorithm
- How to use git-credential-gopass with git send-email?
- Run Robot in Jenkinsfile does not fetch the correct test.robot file from Github
- Git Hub not showing my Organization's Repositories in Android Studio
- Sourcetree caches old branches that no longer exist on github. I do not want this
- How to retrieve Inference image location for my Sagemaker pytorch custom model for Model registry
- I have an error with my Material UI react-swipeable-views in TypeScript
Related Questions in STARTEAM
- Remove Multiline Comments only from Top of Every Java File
- Borland Star Team - Check out timing is too much
- Can Borland StarTeam 2008 Release R2 be integrated with Jenkins
- Migrating projects from StarTeam to Bitbucket
- Create Working Folders using stcmd
- Automatic Check-(In/Out)
- Migration from Starteam to SVN
- create a commit although no files have changed
- how to check out all versions of starTeam version control tool
- How to inquire StarTeam login credentials
- Change a root folder for a view in StarTeam
- StarTeam check out files from all folders including subfolders and files on win7
- Star Team to TFS 2010 Migration with history
- Use url Link to specific CR number in Starteam
- Frequent IOException with Jenkins using StarTeam plugin
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Just to clarify, is your intention to check out all the labelled versions of a project from starteam in some automated manner?
If so, then I think you will want to use the "stcmd" command-line tool that comes with starteam.
'stcmd' location
Performing checkout via 'stcmd'
The stcmd checkout command is "stcmd co ..." (followed by various parameters). Here's a dummy example:
Replace the items in bold with your username, password, server address+port, project-name, view-name, label-name and checkout-path (working folder).
You can learn more about the various other stcmd checkout parameters (eg, -eol, -o, -filter) by typing:
It's worth assessing those extra parameters to decide if they are what you need in your scenario, or if you prefer different settings to this.
Getting a list of all labels in a view
Ok, so you can now checkout, but the other aspect of your question I think is the ability to iterate through a set of checkouts (where I think you intended to check out each individual label).
So to get a list of labels, you can do it this way:
...or alternatively, the stcmd tool now has an sql-like querying system that might do the trick too, but I couldn't get it to work this way:
This presently results in an error, even though I think it ought to work that way, so it might be a bug worth reporting to microfocus on their forums at this location (if you're interested in that approach):
http://community.microfocus.com/borland/managetrack/starteam/f/
Putting it all together
After you've got your list of labels and the ability to check out the label, hopefully you'll be able to fuse the two mechanisms together in some sort of scripting language that suits you.
Via the StarTeam SDK
Another approach to this could be to write a java app that makes use of the starteam SDK (this is Microfocus' java-api for starteam).
This path will take a bit more elbow-grease and time, the SDK has the reward of giving you more control and access to the database information than the stcmd tool can provide.
Conclusion
So my guess is that for your initial needs, some scripted use of stcmd will get the job done for you. If you need more details than the stcmd tool can give you, you might have to dig into the StarTeam SDK as an alternative.