This file is framework/etc/build_scripts/WindowsNightlyBuild.txt To set up a new windows box to do nightly builds, you need visual studio .net 2003 python24 ant 1.6.5 svn Set up passwordless authentication to myfiles.sdsc.edu. Connect to the sdsc subversion repository at least once so that your login credentials will be cached. You need scp and ssh - I (Terri) use OpenSSH. You also need some unix like utilities. I use the mks toolkit. To set up - Create a directory to do builds in, say c:\nightlybuild -Scp the files listed below from myfiles.sdsc.edu:/misc/www/projects/TOL/dev_snapshot/windows_build_tools to c:\nightlybuild (and expand the archives): msvc_dlls.zip -- msvc dlls that we redistribute (release builds only) winCIPRES_template.zip -- we build within the directory structure this expands to. nightlybuild.bat -- kicks the whole thing off updateScripts.bat -- called by nightlybuild.bat to get the rest of the build scripts from svn. nightlybuildrc.bat -- edit this to set PATH and other variables for you/your machine - Expand msvc_dlls.zip ( "jar xvf msvc_dlls.zip" ) - Copy the visual studio file vsvars32.bat to c:\nightlybuild. On my system I found it in: C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat - Modify nightlybuildrc.bat for your user name and paths. Note that paup, python, ant, cvs and svn must be in your PATH. - The build scripts run junit tests from ant. You need to copy a junit jar to %ANT_HOME%/lib. copy cipres_dist\junit\jars\junit-3.8.1.jar %ANT_HOME%\lib - Test the process by manually starting nightlybuild.bat from a command window. A log is recorded in c:\nightlybuild\Build-Win32.log Firewall issues: you'll need to open ports/create exceptions for the cipres services the first time you run cipres or when the build process runs the cipres junit test. With the default cipres configuration you need to open all ports on interface 127.0.0.1 for read_nexus_server, tree_merge_server, cipres_dcm and python. - Use windows scheduler to run c:\nightlybuild\nightlybuild.bat at night. For more information see WindowsBuildInstructions.txt (framework/etc/build_scripts/WindowsBuildInstructions.txt). MasterCIPRES.bat copies WindowsBuildInstructions.txt into the root of the source archive. The file tells developers how to build from the archive.