Automating MSDEV studio build process

mike k hemkond at hotmail.com
Wed Jul 17 12:27:21 EDT 2002


"Bjorn Pettersen" <BPettersen at NAREX.com> wrote in message news:<mailman.1026422483.9226.python-list at python.org>...
> Does anyone have any experience automating a nightly build process using
> Python in combination with MSDevStudio? I remember some discussion here
> about it a while ago, but I couldn't find any reference to it through
> Google...
> 
> We have three major classes of libraries we need to build (each class
> has its own dsw with about a dozen dsp's inside for individual
> sub-libraries). Would it be best to generate makefiles from the dsw's
> and proceed on the command line from there (is there a way e.g. through
> COM to have VS generate the makefiles since we normally don't use
> makefiles?) -- or should we try to automate it all through controlling
> VS through COM?
> 
> The engineer who is working on this is pretty new to Python, so this
> would be a good way to show him how to get rid of five hours of manual
> build processes (especially since I just got mandated that we install
> Python on all machines :-)
> 
> -- bjorn

Actually I have started implementing a python nightly-build system
that does just that, it gets sources from VSS, assigns a build number,
starts a build, emails build results and so on, all of this using an
xml file that describes the whole process.
We have a nightly build system that envolved some python and a lot of
old batch files, but it is too complicated to maintain. The new xml
describes the process in a more build oriented language.

It is currently in early testing, I will gladly share it, once it can
be used in production.

Mike.



More information about the Python-list mailing list