|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.bootstrappers.TFSBootstrapper
Bootstrapper for Microsoft Visual Studio Team Foundation Server. The TFS Bootstrapper will perform a get latest for a single ItemSpec before the build process is run. This relies on there being an existing TFS workspace and a working folder mapping existing between the local bootstrap location and the server location for that
| Constructor Summary | |
TFSBootstrapper()
|
|
| Method Summary | |
void |
bootstrap()
Perform the bootstrapping. |
protected Commandline |
buildGetCommand()
Generate the tf get command in the format tf get -noprompt c:\cc\projects\connectfour\build.xml -recursive -login:DOMAIN\name,password For more details on get command syntax see http://msdn2.microsoft.com/en-us/library/fx7sdeyf(VS.80).aspx |
void |
setForce(boolean force)
Flag to indicate of the tf get command should be performed using the /force switch. |
void |
setItemSpec(java.lang.String itemSpec)
Mandatory The path to issue a get for |
void |
setOptions(java.lang.String options)
An optional argument to add to the end of the tf get command that is generated. |
void |
setPassword(java.lang.String password)
If the username or password is not supplied, then none will be passed to the command. |
void |
setRecursive(boolean recursive)
Flag to indicate if the tf get should be performed recursively or not. |
void |
setTfPath(java.lang.String tfPath)
The path to the tf command. |
void |
setUsername(java.lang.String username)
The username to use when talking to TFS. |
void |
validate()
Called after the configuration is read to make sure that all the mandatory parameters were specified.. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TFSBootstrapper()
| Method Detail |
public void bootstrap()
throws CruiseControlException
Bootstrapper
bootstrap in interface BootstrapperCruiseControlException - if bootstrap failsBootstrapper.bootstrap()
protected Commandline buildGetCommand()
throws CruiseControlException
CruiseControlException
public void validate()
throws CruiseControlException
Bootstrapper
validate in interface BootstrapperCruiseControlException - if there was a configuration error.Bootstrapper.validate()public void setItemSpec(java.lang.String itemSpec)
itemSpec - public void setUsername(java.lang.String username)
"name"
If the username or password is not supplied, then none will be passed to the command. On windows system using the
Microsoft tf.exe command line client, the credential of that the CruiseControl process is running as will be used
for the connection to the server.
username - the username to setpublic void setPassword(java.lang.String password)
password - the password to setpublic void setTfPath(java.lang.String tfPath)
tfPath - the path where the tf command residespublic void setRecursive(boolean recursive)
recursive - public void setForce(boolean force)
force - public void setOptions(java.lang.String options)
options - the options to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||