[Buildbot-devel] the right way - vs2003 vsvars32.bat

Marcus Lindblom macke at yar.nu
Mon Dec 8 10:00:02 UTC 2008

Terry.Rankine-uXK74I8fpZ0 at public.gmane.org wrote:

> Can you do something like this
> vsvars32.bat && mycommand “arg1” “arg2” in buildbot?

This works for me:

"cmd /c call "%VS90COMNTOOLS%\vsvars32.bat" & devenv /?"

Single &, not double, is how you chain stuff in windows.

> I would like to try and make the method contained within the master 
> config (and not need customised scripts/bat files/extra files on the slave).

I've always used a special bat file (in the repo), but that's because we 
do a lot of prep-stuff (lazy package download, setup & filter local 
paths, etc).

The above seems to work in a cmd-window at least. Give it a try and let 
us know how it went. :)


More information about the devel mailing list