I have a question regarding running ANT builds in TeamCity. I have an ant build that uses Xoreax Incredibuild to build our software. I can run this ANT task by itself and it runs fine, however running it from inside TeamCity gives me the following error
IncrediBuild Console 2.61 (build 687)
Build System Error----
Failed to initialize Build System:
Failed to load build environment.
Cannot open registry key: HKEY_CURRENT_USER\SOFTWARE\Microsoft\DevStudio\6.0\Build System\Components\Platforms\Win32 (x86)\Directories: The system cannot find the file specified
1 build system error(s)
Are there security limitations where TeamCity ANT builds can't access the registry? What user is it running as? I'm not sure what's going on as running the command listed in the build log by itself works fine.