StarTeam action bug -- multiple filespecs not handled

The StarTeam actions don’t handle multiple filespecs correctly.

If I type Exe1.exe Exe2.exe then it should, for example, check in both files. But FinalBuilder double-quotes the entire string, like this:

"Exe1.exe Exe2.exe"

…instead of the correct format:

"Exe1.exe" "Exe2.exe"

From the StarTeam docs:

If you use a set of file patterns, each pattern should be enclosed in its own set of quotation marks. For example, you can use ".bat" ".c", but you cannot use "*.bat *.c".
A kludgy workaround, which I hate myself for using, but which works, is to enter this in the action configuration:

Exe1.exe" "Exe2.exe

Note no quotes at beginning or end!

Also, I wish bulk checkout was supported. It’s, well, ideal for builds!

Thanks,

-Craig

Hi Craig,

This is not actually documented (I’ll try and get that fixed ASAP), but if you separate the files with semicolons (ie Exe1.exe;Exe2.exe) then you can specify multiple files.

Regards,

Angus

Thanks; I agree that documentation would fix the problem, as I did actually read the docs before asking. :slight_smile:

Any idea on supporting bulk checkout? Ideally, the checkout action would have a “use bulk checkout” option which defaults to true on StarTeam 2005 R2 and higher (older versions didn’t have bco).

Thanks,

-Craig

Hi Craig

Do you have any info on this option, or can you point us to any publicly available info on this option (and in which release was it added?). We have given up trying to get a copy of Starteam 2005 from borland, even as borland technology partners (and with an eval copy of FinalBuilder on a cd included with the starteam) we have not been able to get any response from them. My guess is it willbe even more difficult now that the have spun the devtools company out as codegear.



You can download a 30 day trial version of StarTeam 2006 here:

http://www.borland.com/downloads/download_starteam.html

The command you want is bco.bat. The command-line syntax is almost identical to the checkout syntax. bco works mostly like checkout except that (1) it doesn’t report each filename checked out and (2) it’s about three times faster for large filesets. Using bco (with the command-line action instead of the StarTeam checkout action) knocked about a minute off of a six-minute build for us.

ST 2005 R2 is the first with bco. But in that version it doesn’t set the error level on exit; you only know if it failed by reading the output. ST 2006’s bco.exe sets the error level, but I’m not sure the values are documented.

Send me an email and I’ll see if I can get anyone from the StarTeam group to get you a non-trial copy. Most of my “Borland” contacts have gone to CodeGear, but I’ll see what I can do. I might be able to find a “friend of a friend” who can help out.

I’d also be happy to test the action or help you with syntax.

Thanks,

-Craig

Hi Craig - expect an email shortly.

I'm running StarTeam 2008 and would LOVE to have the BCO action.  I currently use a FB DOS command action and run BCO from it, but I expose the password to all who view the build status.

Anything more on this?

Thanks,

Dar

Hi Dar,

I'll let one of the others get back to you about BCO.bat.

However, to hide sensitive information from the log you can use an action Output Monitor to suppress the relevant line of output. The basic steps are outlined in a reply to this thread: https://www.finalbuilder.com/forums.aspx?forumid=6&postid=7154&view=topic

Hth.

Regards,

Angus

Got it.  Thanks.  I've still got a lot to learn 

Two items:

- I was able to find a better way to hide the password. I placed the password in a “hidden” disk file and use -pwdfile argument to reference it.

- Any additional information on a BCO Action?