Build File disapears short before the Build starts.

Hi all,

I have two Build configured an TeamCity. One runs w/o any Problems the other one not.

I run a build with this NAnt Script

<project name="SISA.Architecture.CI" default="build">
    <!-- Project Parameter -->
    <property name="solution.name" value="CUST.X.Import" />
    <property name="solution.path" value="${path::combine(svn.checkoutpath, solution.name)}" />
    <property name="solution.file" value="${solution.path}.sln"/>
    <!-- Build Parameter -->
    <property name="build.outputdir" value="C:\SISA.Apps.Build\SISA.Architecture\Build\output" />
    <property name="build.target" value="CI" />
    <target name="build">
        <msbuild project="${solution.file}">
            <property name="target" value="${build.target}" />
            <property name="OutputPath" value="${build.outputdir}"/>    
        </msbuild>
    </target>  
</project>

And a TeamCity SVN Check out to : C:\SISA.Apps.Build\SISA.Architecture\Build\checkout

The Check out seems to be OK and the Buildfile File 'build118237407198215203.tmp' is created and visible in the File System for a few seconds.
Short before the Build begins, the Build File disapears and the Build fails ?!

Any Idea whats going on here ?

Kind Regards
Peter

[09:50:07]Clearing temporary directory: C:\TeamCity\buildAgent\temp\buildTmp
[09:50:07]Clean build enabled: removing old files from C:\SISA.Apps.Build\SISA.Architecture\Build\checkout
[09:50:08]Checkout directory: C:\SISA.Apps.Build\SISA.Architecture\Build\checkout
[09:50:08]Updating sources: agent side checkout (27s)
[09:50:08]Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist
[09:50:08]Cleaning C:\SISA.Apps.Build\SISA.Architecture\Build\checkout
[09:50:08]VCS Root: svn: http://morgan/svn/sisa/SISA.Apps/SISA.Architecture/trunk (27s)
[09:50:08]revision: 44521_2012/11/02 14:44:27 +0100
[09:50:36]Starting:  C:\SISA.Apps.Build\tools\nant-0.92\bin\NAnt.exe  -buildfile:C:\SISA.Apps.Build\SISA.Architecture\Build\checkout\build118237407198215203.tmp  -targetframework:net-4.0  -extension:C:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NAntLoggers.dll  -listener:JetBrains.BuildServer.NAntLoggers.NAntListener
[09:50:36]in directory: C:\SISA.Apps.Build\SISA.Architecture\Build\checkout
[09:50:38]Buildfile: file:///C:/SISA.Apps.Build/SISA.Architecture/Build/checkout/build118237407198215203.tmp
[09:50:38]Target framework: Microsoft .NET Framework 4.0
[09:50:38]Target(s) specified: build
[09:50:38]
[09:50:38]build (1s)
[09:50:39]C:\SISA.Apps.Build\SISA.Architecture\Build\checkout\build118237407198215203.tmp(17,4): Project  file does not exists. Specify a project or solution file. The current  working directory does not contain a project or solution file.
[09:50:39]Process exited with code 1
[09:50:39]NAnt output
[09:50:39]NAnt 0.92 (Build 0.92.4543.0; release; 09.06.2012)
[09:50:39]Copyright (C) 2001-2012 Gerry Shaw
[09:50:39]
[09:50:39]Buildfile: file:///C:/SISA.Apps.Build/SISA.Architecture/Build/checkout/build118237407198215203.tmp
[09:50:39]Target framework: Microsoft .NET Framework 4.0
[09:50:39]Target(s) specified: build
[09:50:39]
[09:50:39]
[09:50:39]build:
[09:50:39]
[09:50:39] [msbuild] Selected msbuild.exe from C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
[09:50:39]2012-11-05 09:50:38,674 [5936] WARN  JetBrains.BuildServer.NAntLoggers.MsbuildTask - myBootstrap is null at ExecuteTask()
[09:50:39]
[09:50:39]BUILD FAILED
[09:50:39]
[09:50:39]C:\SISA.Apps.Build\SISA.Architecture\Build\checkout\build118237407198215203.tmp(17,4):
[09:50:39]Project  file does not exists. Specify a project or solution file. The current  working directory does not contain a project or solution file.
[09:50:39]
[09:50:39]Total time: 1.7 seconds.

Please sign in to leave a comment.