Bamboo adding [ Solutions ] path in my build statement.

we are having issues with a build that we have converted over from Teamcity taking advantage of the same NAnt scripts,etc. We configured a task that calls an NAnt script's build target passing in a number of parameters. That build target is shown below. When we run the build Bamboo wants to add a folder [ Solutions ] in the path and I cant figure out why. That is shown in the build log excerpt below.

Anybody have any suggestions on why this is happening?

<target name="build" depends="stopwebsite,clean,dependencies" >
<echo message="Running MSBuild on ${build.dir}\${solution.file}" />
<exec program="${framework::get-framework-directory(framework.ver)}\msbuild.exe">

<arg value="${build.dir}\${solution.file}" />
<arg value="/t:Rebuild" />
<arg value="/p:Configuration=${build.configuration}" />
</exec>

<call target="configure" />

<call target="startwebsite" />



</target>

Excerpts from the build log file.

Beginning to execute external process for build 'OMT Trunk - OMT Build Trunk - Default Job'
... running command line:
c:\nant-0.86-beta1\\bin\nant.exe
-buildfile:c:\nantscripts\setversionandbuild.build
-D:deploy.environment=INT
-D:build.dir=e:\bamboo-agent-home\xml-data\build-dir\OMTBLDT-OMTBLDT-JOB1
-D:build.project=Onlife
-D:build.configuration=Release
-D:cienv=true
-D:build.version=22678
-D:framework.ver=net-3.5
-D:solution.file=OnLife.WebSite\OnLifeWeb.sln
build
... in: e:\bamboo-agent-home\xml-data\build-dir\OMTBLDT-OMTBLDT-JOB1

21-Sep-2011 12:45:32 [echo] Running MSBuild on e:\bamboo-agent-home\xml-data\build-dir\OMTBLDT-OMTBLDT-JOB1\[ Solutions ]\OnLife.WebSite\OnLifeWeb.sln
21-Sep-2011 12:45:32 [exec] Microsoft (R) Build Engine Version 3.5.30729.1
21-Sep-2011 12:45:32 [exec] [Microsoft .NET Framework, Version 2.0.50727.3623]
21-Sep-2011 12:45:32 [exec] Copyright (C) Microsoft Corporation 2007. All rights reserved.
21-Sep-2011 12:45:32 [exec]
21-Sep-2011 12:45:32 [exec] MSBUILD : error MSB1009: Project file does not exist.
21-Sep-2011 12:45:32 [exec] Switch: e:\bamboo-agent-home\xml-data\build-dir\OMTBLDT-OMTBLDT-JOB1\[ Solutions ]\OnLife.WebSite\OnLifeWeb.sln

2 answers

This widget could not be displayed.

Can you change ${build.dir}\${solution.file} to ${build.dir}\aaaa\${solution.file} tp figure out where the Solutions part comes from?

This widget could not be displayed.

After making those changes we realized we were referring to a different NAnt Script file that at some time in the past had the [ Solution ] in it.

Sorry for the wasted question

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

50 views 2 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you