[Buildbot-devel] BuildBot & Visual Studios....
Dmitry Nezhevenko
dion at dion.org.ua
Wed Sep 21 11:37:57 UTC 2011
On Tue, Sep 20, 2011 at 09:23:19AM -0700, BRM wrote:
> Just wanted to bring up a bug for discussion. I'm not familiar enough with Buildbot's protocols/etc to tackle it myself at present, and any support for InstallShield will likely need to follow the same kind of route.
>
> http://trac.buildbot.net/ticket/2108
>
> I finally got to the point of testing a build, and it failed because
> Buildbot had the incorrect path for VisualStudios, namely because the
> path was hard coded. Microsoft provides the required paths in some nice
> registry keys that we can access via Python - via either the
> _winreg/winreg built-in modules, or via PyWin32's win32api module. I
> reported the paths I know about in the bug.
> For now, I can probably work around it using the "installdir" parameter.
> However, it would be very helpful for me (and likely others) to use the
> registry method in the bug report.
There is a bit easier way to do this. I'm using own version of compile
step. It basically gets MSVC path from environment. It works pretty well
here.
Also it uses vcbuild instead of deprecated devenv.com. Here is a link to
actual code:
http://dion.org.ua/uploads/2011/09/buildbot_compile.py
Also it contains "xcodebuild" build step to build XCode project files.
I'll have some free time soon, so I can cleanup and contribute them (or
some other way to build MSVC projects) to buildbot if there is some demand.
As about Windows, we probably can't just replace one step with another due
to compatibility issues. Probably add both for one release and then remove
old one.
But there is third way called "msbuild". All of this looks too ugly. I
really don't know, which one is the best.
Dustin? What do you think about this?
--
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/20110921/dc6a733b/attachment.bin>
More information about the devel
mailing list