StarTeam -- How do I move files programmatically?

920 Views Asked by At

Any StarTeam users out there?

I'm using StarTeam 2009, which comes with some client tools, including a command line tool, stcmd.exe.

I'm reorganizing a somewhat large Java project containing thousands of .java files and resource files. I would like to know if there is a way using stcmd or some other scripting tool to move files from one folder in the StarTeam repository to another folder.

Of course I can use the StarTeam client interface to drag and drop files, but I'm hoping to avoid that.

Any help would be appreciated.

Thanks

1

There are 1 best solutions below

3
On BEST ANSWER

stcmd gives you the ability to add, modify, and delete files and folders. It doesn't provide a mechanism for sharing or moving.

It may be possible to do some of the moves using VCMUtility, but that's not really what it was designed for and I would guess it would end up being more of a pain than doing it by hand.

The StarTeam SDK does provide all the tools necessary to do moving and sharing. It may be worthwhile to look into writing a small utility to do what you're looking for.