在服务器之间移动 TFS 模板
我们定制了一个TFS模板。
我们现在想将此模板移动到不同的 TFS 服务器。
做到这一点的最佳方法是什么?
谢谢
Shiraz
编辑
我们尝试了下面推荐的流程模板,但在尝试导入时出现以下错误:
---begin Exception entry---
Time: 2009-11-25 10:28:24Z
Module: Engine
Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30272: Template not found on the server
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifySiteTemplate(ProjectCreationContext context, String template, Int32 lcid)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
--- end Exception entry ---
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
---begin Exception entry---
Time: 2009-11-25 10:28:24Z
Module: Template Importer
Exception Type: Microsoft.TeamFoundation.Client.ValidationFailedException
Exception Message: TF30175: Process template validation failed
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.ValidateTemplate(DirectoryInfo templateDirectory)
at Microsoft.VisualStudio.TeamFoundation.TemplateManagementService.ValidateMethodology(String folderPath, ILogHandler logHandler)
at Microsoft.VisualStudio.TeamFoundation.TemplateManagementService.Import(String folderPath, ILogHandler logHandler)
-- Inner Exception --
Exception Type: Microsoft.VisualStudio.TeamFoundation.TaskFailedException
Exception Message: TF30162: Task "SharePointPortal" from Group "Portal" failed
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.PerformAllTasks(ITaskPerformer taskPerformer, ProjectCreationContext creationContext, List`1 projectTasks)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.RunEngine(Boolean isValidationRun, String templateFolder)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.ValidateTemplate(DirectoryInfo templateDirectory)
-- end Inner Exception --
-- Inner Exception --
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30272: Template not found on the server
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifySiteTemplate(ProjectCreationContext context, String template, Int32 lcid)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- end Inner Exception --
--- end Exception entry ---
We have customized a TFS Template.
We would now like to move this template to a different TFS Server.
What is the best ways to do this?
Thanks
Shiraz
EDIT
We tried the process template as recommend below, but got the following error when trying to import:
---begin Exception entry---
Time: 2009-11-25 10:28:24Z
Module: Engine
Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30272: Template not found on the server
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifySiteTemplate(ProjectCreationContext context, String template, Int32 lcid)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
--- end Exception entry ---
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2009-11-25 10:28:24Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
---begin Exception entry---
Time: 2009-11-25 10:28:24Z
Module: Template Importer
Exception Type: Microsoft.TeamFoundation.Client.ValidationFailedException
Exception Message: TF30175: Process template validation failed
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.ValidateTemplate(DirectoryInfo templateDirectory)
at Microsoft.VisualStudio.TeamFoundation.TemplateManagementService.ValidateMethodology(String folderPath, ILogHandler logHandler)
at Microsoft.VisualStudio.TeamFoundation.TemplateManagementService.Import(String folderPath, ILogHandler logHandler)
-- Inner Exception --
Exception Type: Microsoft.VisualStudio.TeamFoundation.TaskFailedException
Exception Message: TF30162: Task "SharePointPortal" from Group "Portal" failed
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.PerformAllTasks(ITaskPerformer taskPerformer, ProjectCreationContext creationContext, List`1 projectTasks)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.RunEngine(Boolean isValidationRun, String templateFolder)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.ValidateTemplate(DirectoryInfo templateDirectory)
-- end Inner Exception --
-- Inner Exception --
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30272: Template not found on the server
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.VerifySiteTemplate(ProjectCreationContext context, String template, Int32 lcid)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.ValidateSite(ProjectCreationContext context, XmlNode site)
at Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Validate(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- end Inner Exception --
--- end Exception entry ---
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用流程模板管理器下载并上传模板。
Try using the Process Template Manager to download and upload templates.