使用 Starteam/CruiseControl 覆盖工作文件夹

发布于 2024-07-04 21:46:23 字数 171 浏览 10 评论 0原文

由于某种原因,我似乎无法让 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

愚人国度 2024-07-11 21:46:23

确保您的工作文件夹属性设置为相对路径而不是完整路径(例如: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.

疾风者 2024-07-11 21:46:23
<sourcecontrol type="starteam">
    <executable>C:\Program Files\starbase\StarTeam 5.4\stcmd.exe</executable>
    <project>ProjectName/ViewName</project>
    <username>UserName</username>
    <password>Password</password>
    <host>127.0.0.1</host>
    <port>49201</port>
    <autoGetSource>true</autoGetSource>
    <overrideViewWorkingDir>C:\temp\ProjectName</overrideViewWorkingDir>
</sourcecontrol>
<sourcecontrol type="starteam">
    <executable>C:\Program Files\starbase\StarTeam 5.4\stcmd.exe</executable>
    <project>ProjectName/ViewName</project>
    <username>UserName</username>
    <password>Password</password>
    <host>127.0.0.1</host>
    <port>49201</port>
    <autoGetSource>true</autoGetSource>
    <overrideViewWorkingDir>C:\temp\ProjectName</overrideViewWorkingDir>
</sourcecontrol>
清风不识月 2024-07-11 21:46:23

对于我来说,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

泪痕残 2024-07-11 21:46:23

您是否正在寻找项目的 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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文