If you have a check in policy setup within Microsoft Team Foundation Server (TFS), Sparx System’s Enterprise Architect will fail to check in work, and it is not possible to override the check in policy either. For example, our TFS check-in policy dictates that the user should always associate a work item with a check-in, but EA does not show the dialog which allows us to do this when checking in. Luckily there is a solution, kindly provided to us by Sparx Systems. I thought this is worth sharing: “
EA's built in support for TFS uses the TFS command line client "tf.exe" to communicate with the server. Unfortunately, when we check-in files using the CLI, it does not open the TFS check-in dialog, so no, we cannot access the work items from EA using this connection. However, you can also connect to TFS using the MS TFS-SCC client, which is also supported by EA. This client does open the "check-in" dialog and therefore does facilitate association of the check-in with a work-item. You can download the TFS 2005 SCC client from here, or the TFS 2008 SCC client from here. Once you have downloaded and installed an SCC client for TFS, you can convert your existing EA VC configurations from command line client to SCC client, by opening EA's Version Control Settings dialog, then selecting the existing configuration in the lower part of the dialog to display the details in the upper part of the dialog. You will notice that the "type" is selected as TFS and the radio button for SCC is also enabled. Select SCC as the type, then click on Save. You should be prompted to select your SCC provider, then if you are not already logged into TFS through Visual Studio, the SCC client will prompt you to log in to TFS. Once you successfully log in, you will remain logged in to TFS, until the TFS session closes.
”
0 comments:
Post a Comment