[Buildbot-devel] BuildBot & Visual Studios....

Dmitry Nezhevenko dion at dion.org.ua
Fri Sep 23 13:51:54 UTC 2011

On Fri, Sep 23, 2011 at 08:40:21AM -0400, Marc-Antoine Ruel wrote:
> Le 22 septembre 2011 23:15, Dustin J. Mitchell <dustin at v.igoro.us> a écrit :
> > As I mentioned in #2108, I'm not at all opposed to Benoit's suggestion
> > to add a query-the-registry command on the slave side, and use it
> > master-side to determine necessary paths.
> Often, I feel like a small wrapper python script that would be shelled out
> would be *much simpler* to manage than the overhead of:
> - Add registry query implementation and unit tests
> - Add server-side logic to change VS exe path depending on the registry key

Guys, vcvarsall.bat is not just about registry. It also adds include
paths and some other environment variables (even modifies it if they
already exists).

It may happens that there are scripted build steps in projects that
depends on that _standard_ environment. That's why I've hacked original
vstudio.py to use proper way for getting compiler shell.

If you want "sane" solution that will work as expected for all projects,
the only way to set environment is to call vcvarsall.bat (or emulate
everything it have, that is error prone).

WBR, Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://buildbot.net/pipermail/devel/attachments/20110923/9d72990b/attachment.bin>

More information about the devel mailing list