Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-22-2008, 09:33 AM
lherz lherz is online now
Registered User
 
Join Date: 07-21-2005
Posts: 15
Problem constructing Team Build 2008 command line

I am trying to call a team build 2008 project with the Team Build step in v6.7, and am getting the following error with the resulting command line: (I have sanitized the command line to remove sensitive data replacing it with angle bracketed placeholders)

"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\TFSBuild.exe" start "http://<TFSServer>:8080" "$/<Company>/TeamBuild/Types/<project>" "<BuildDef>" /queue /getoption Custom /customgetversion T /priority Normal /requestedfor <BuildDomain\User>
Microsoft (R) TfsBuild Version 9.0.0.0
for Microsoft Visual Studio Team System 2008
Copyright (c) Microsoft Corporation. All rights reserved.

Option getoption requires a value.

Process completed with exit code 100

I also receive an error if I define a build directory or build machine.
When including a build directory (drop location) the command line generated includes a "/d:<path to drop location>" parameter which the team build does not recognise. In looking at the comment line options for TFSBuild.exe 2008, I see a /dl: listed for drop location.

Adding a build machine option generates an /m:<buildMachingName> parameter on teh comment line, for which there is no apparent equivelent in TFSBuild 2008.


Any assistance will be greatly appreciated.
Reply With Quote
  #2  
Old 07-22-2008, 09:58 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Re: Problem constructing Team Build 2008 command line

Quote:
Originally posted by lherz
I am trying to call a team build 2008 project with the Team Build step in v6.7, and am getting the following error with the resulting command line: (I have sanitized the command line to remove sensitive data replacing it with angle bracketed placeholders)

"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\TFSBuild.exe" start "http://<TFSServer>:8080" "$/<Company>/TeamBuild/Types/<project>" "<BuildDef>" /queue /getoption Custom /customgetversion T /priority Normal /requestedfor <BuildDomain\User>
Microsoft (R) TfsBuild Version 9.0.0.0
for Microsoft Visual Studio Team System 2008
Copyright (c) Microsoft Corporation. All rights reserved.

Option getoption requires a value.

Process completed with exit code 100
Install v6.7a.
http://www.kinook.com/Forum/showthre...?threadid=3715

Quote:
I also receive an error if I define a build directory or build machine.
When including a build directory (drop location) the command line generated includes a "/d:<path to drop location>" parameter which the team build does not recognise. In looking at the comment line options for TFSBuild.exe 2008, I see a /dl: listed for drop location.
According to http://msdn.microsoft.com/en-us/library/ms181742.aspx, /droplocation can be abbreviated as /d. If the documentation is wrong, a workaround would be to clear out the Build directory field and add the /dl: flag to the Additional options field on the Options tab.

Quote:
Adding a build machine option generates an /m:<buildMachingName> parameter on teh comment line, for which there is no apparent equivelent in TFSBuild 2008.
Only Team Build 2005 supports that field/flag. Maybe this is stored in the build definition in 2008?
Reply With Quote
  #3  
Old 07-22-2008, 02:44 PM
lherz lherz is online now
Registered User
 
Join Date: 07-21-2005
Posts: 15
Thanks for you quick response. I downloaded 6.7a and that resolved the colon issues. The /d does not work, but your workaround does. Again thank you.

Thanks again for your quick response.
Reply With Quote
  #4  
Old 07-22-2008, 02:47 PM
lherz lherz is online now
Registered User
 
Join Date: 07-21-2005
Posts: 15
One thing I missed in my last port. I had misread the document on using /dl: The parameter that works is /dropLocation:<Path to drop location> the /d shortcut does not work.

Thanks.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:13 PM.


Copyright © 1999-2023 Kinook Software, Inc.