jump to navigation

STEP BY STEP Integrating CC.NET with NAnt and Subversion on Windows 20 October 2006

Posted by Panji Pratomo in Technology.
trackback

Install Cruise Control.net
- Set “Cruise Control.Net Services” to automatic start
- test http://localhost/ccnet

Extract Nant-0.85-rc3
- see the configuration changes in Nant’s folder or just copy “Nant.exe.config” to [Nant install dir]\bin
- Change the part that uses net-2.0 framework to this:

name=”net-2.0″
family=”net”
version=”2.0″
description=”Microsoft .NET Framework 2.0″
runtimeengine=”"
sdkdirectory=”${path::combine(sdkInstallRoot, ‘bin’)}”
frameworkdirectory=”${path::combine(installRoot, ‘v2.0.50727′)}”
frameworkassemblydirectory=”${path::combine(installRoot, ‘v2.0.50727′)}”
clrversion=”2.0.50727″

- add supported version for .NET framework 2.0

supportedRuntime version=”v2.0.50727″

- [Optional]Create a Windows environment variable called NANT_HOME. The value should equal the location of the NAnt installation directory from step 1.
Add %NANT_HOME%\bin; to the System PATH environment variable.
Open a command window and type nant. You should receive a message like: BUILD FAILED. Could not find a ‘*.build’ file…

Extract svn-1.1.4 to designated dir.
- extract svn-mod-bin-1.1.4.zip and copy the files in svn-1.1.4\bin
- this is required to be able to create _svn folder instead of .svn (known Microsoft issues in reading folder with “.”)
- Configure Subversion : [Sometimes it's already a default]
Create a Windows environment variable called SVN_HOME. The value should equal the location of the Subversion installation directory from step 1.
Add %SVN_HOME%\bin; to the System PATH environment variable.
# Open a command window and type svn. You should receive a message like: Type ’svn help’ for usage.

Make sure every large component required is installed :
- Microsoft .Net framework
- Microsoft Visual Studio
- Everything have been build in dir. lib of subversion

manually build our project, to test the infrastructure

manually build our project from command line using devenv.exe
- first with our .sln then with our .vcproj

Comments»

No comments yet — be the first.