ReferencePlatforms/BuildBot/Win32: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Replaced content with 'This page was obsolete and has been removed. Details on our win32 reference platform can be found here: [https://wiki.mozilla.org/ReferencePlatforms/Win32 https://wiki.mozil...')
 
Line 1: Line 1:
= Buildbot Reference Install Instructions - Win32 =
This page was obsolete and has been removed. Details on our win32 reference platform can be found here:  [https://wiki.mozilla.org/ReferencePlatforms/Win32 https://wiki.mozilla.org/ReferencePlatforms/Win32].
This document describes how to create a Buildbot reference install on Windows. You will need administrative privileges to complete this install.
 
== Prerequisites ==
* [[ReferencePlatforms/Win32 | Base win32 reference install]]
 
== Version 4 and below ==
This section is for v4 of the ref platform and below. (Generally, FF2/1.8)
=== Install Python ===
Download and install Python 2.4 from [http://www.python.org/ftp/python/2.4.4/python-2.4.4.msi here]
Install it in "D:\buildtools\python24"
  8b1517fdbf287d402ac06cc809abfad6 python-2.4.4.msi
 
=== Install Python-Twisted ===
Download and install Python-Twisted 2.4 from [http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted_NoDocs-2.4.0.win32-py2.4.exe here]. This will also install the Zope-Interface package.
87759eed35ddaed617e128fd6f34ea7c Twisted_NoDocs-2.4.0.win32-py2.4.exe
 
=== Install mfc71.dll ===
Download and install mfc71.dll from [http://starship.python.net/crew/mhammond/downloads/mfc71.dll here] and put into c:\windows\system32\mfc71.dll. This dll is needed for python on windows.
1fd3f9722119bdf7b8cff0ecd1e84ea6 mfc71.dll
 
=== Install Python Win32 extensions ===
Download and install the Python win32 extensions from [http://superb-west.dl.sourceforge.net/sourceforge/pywin32/pywin32-210.win32-py2.4.exe here]
16d8d23fa6653bead0ab4d99b9bbfe23 pywin32-210.win32-py2.4.exe
 
=== Add cygwin and Python to the path ===
Control Panel -> System -> Advanced -> Environment Variables. Find 'PATH' in the list of System variables and append ";d:\buildtools\python24;d:\buildtools\python24\scripts;d:\cygwin\bin;d:\cygwin\usr\bin"
 
=== Install Buildbot ===
Note: cvs.mozilla.org may need to be cvs-mirror.mozilla.org.
Make sure to use the Win32 Python to install Buildbot.
 
Using cygwin, (do not use cmd.exe DOS prompt, you'll get syntax errors!) run:
cd /home/cltbld
cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/tools/buildbot
Using cmd.exe DOS prompt (do not use cygwin, you'll get the wrong python!) run:
cd mozilla/tools/buildbot
python setup.py build
python setup.py install
Edit the 'buildbot.bat' file in d:\buildtools\python24\scripts to use the correct location of "buildbot", and to escape each \\ :
@python d:\\buildtools\\python24\\scripts\\buildbot %*
 
=== Install the Botrunner script ===
 
Using cygwin, (do not use cmd.exe DOS prompt, you'll get syntax errors!), get the MozBuild and botrunner modules from cvs cd
cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/MozBuild
cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/botrunner.py
Using cmd.exe DOS prompt (do not use cygwin)
cp MozBuild/Util.py d:\buildtools\python24\Lib\site-packages
cp MozBuild/botrunner.py d:\buildtools\python24\scripts\botrunner.py
 
=== Starting Buildbot ===
 
start a cygwin shell, and do:
  c:/buildtools/python23/scripts/buildbot start c:/win32-slave1
 
== Version 5 ==
This section is for v5 of the ref platform. (Generally, FF3/1.9)
=== Add Python to the path ===
Control Panel -> System -> Advanced -> Environment Variables. Add a new user variable called 'PATH' (This PATH will be used in addition to the System PATH variable). Give it the following value:
d:\buildbot\python24;d:\buildbot\python24\scripts
=== Install Buildbot ===
Note: cvs.mozilla.org may need to be cvs-mirror.mozilla.org.
Make sure to use the Win32 Python to install Buildbot.
 
Run:
cvs -d:pserver:anonymous@cvs.mozilla.org:/cvsroot co mozilla/tools/buildbot
cd mozilla/tools/buildbot
python setup.py build
python setup.py install
Edit the 'buildbot.bat' file in d:\buildbot\python24\scripts to use the correct path:
@python d:\\buildbot\\python24\\scripts\\buildbot %*

Latest revision as of 09:50, 10 July 2009

This page was obsolete and has been removed. Details on our win32 reference platform can be found here: https://wiki.mozilla.org/ReferencePlatforms/Win32.