使用 Starteam/CruiseControl 覆盖工作文件夹
由于某种原因,我似乎无法让 CruiseControl.net 将代码签出到除特定视图的 starteam 工作文件夹之外的任何地方。
我尝试了 overrideViewWorkingDir 和 overrideFolderWorkingDir,但似乎都不起作用。
有人能够做到这一点吗?
For some reason, I can't seem to get CruiseControl.net to checkout code to anywhere but the starteam working folder for a specificed view.
I've tried both overrideViewWorkingDir and overrideFolderWorkingDir, and neither seem to work.
Has anyone been able to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
确保您的工作文件夹属性设置为相对路径而不是完整路径(例如:MyFolder 而不是 C:\MyProject\MyFolder),否则它将覆盖覆盖。 过去,当人们在将文件夹添加到视图时错误地输入完整路径时,我曾见过文件检出到一些非常奇怪的地方。
Make sure your working folder properties are set to a relative and not a full path (ex: MyFolder instead of C:\MyProject\MyFolder) or it will override the override. I've seen files checked out to some very odd places in the past when people mistakenly put in full paths when adding a folder to a view.
对于我来说,ccnet 1.4.3 和 Startem Cross-Platform Client 2008 R2 工作得很好。 确保 XML 有效。 我的 overrideViewWorkingDir 标记未正确关闭,并且 ccnet 忽略了它。 通过从命令行运行 ccnet.exe 而不是作为服务来找到它。 您还可以使用 SysInternals 中的 Process Explorer 查看传递给 stcmd.exe 的命令行参数
Works fine for me with ccnet 1.4.3 and Startem Cross-Platform Client 2008 R2. Make sure XML is valid. I had overrideViewWorkingDir tag not properly closed and ccnet was ignoring it. Found it by running ccnet.exe from the command line instead of as a service. Also you can use Process Explorer from SysInternals to view command line arguments passed to stcmd.exe
您是否正在寻找项目的 workingDirectory 元素 而不是 < a href="http://confluence.public.thoughtworks.org/display/CCNET/StarTeam+Source+Control+Block" rel="nofollow noreferrer">starteam 覆盖?
Are you looking for the project's workingDirectory element instead of the starteam override?