NAnt runner does not work

I've installed TeamCity on a Win 2003 server, but the NAnt runner does not work. I get following message on the project page: Incompatible runner: 'NAnt'. The MSBUILD runner works fine.

In the output log I can see the following:
Runner NAnt was not registered
Registered 4 on http://localhost:80 with name 'buildsrv01' on IP 172.20.6.55:9090

I've installed V1.2 Build 1771

Do I have to configure something special to make NAnt working? Please help!

2 comments
Comment actions Permalink

Hello Stephan,

From our FAQ http://www.jetbrains.net/confluence/display/TW/TeamCity+FAQ :

On the build agents that should run NAnt builds you'll need to set up the environment variable NAntHome. You can specify it in the agent's properties file (buildAgent\conf\buildAgent.properties) by adding env.NAntHome property. Note that property name is case-sensitive. This environment variable should provide path to NAnt distribution folder. Please, use NAnt build which is newer than 0.85 RC4.

In buildAgent.properties, you should also specify one or both system properties for .NET framework: system.DotNetFramework1.1 and/or system.DotNetFramework2.0

Hope, this helps.
KIR

--
Kirill Maximov
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Thank you very much for the fast reply. My problem is fixed now.

0

Please sign in to leave a comment.