我正在寻找远程开发环境的解决方案,如下所示: 编辑器 - Windows Source Insight/Visual Studio 源代码控制 - Clearcase 构建服务器 - Linux 以上内容无法修改。
在我当前的设置中,我可以使用 Windows Cleacase 客户端在 Windows 上查看和编辑源代码。 我的问题主要是构建(以及后来的调试)过程。 我需要在 Linux 服务器上的特定 Clearcase View 上从 Windows 调用“make”。 我可以使用 SSH 在单独的进程中登录 Linux 服务器并运行“make”,但这是一个繁琐的过程。 我也无法查看“make”结果并双击它们以转到特定的警告/错误。
有没有办法将 Windows 命令/批处理远程绑定(bind)到 Linux 环境? 也许通过 SSH? 感谢您提出的任何建议。
最佳答案
通常的解决方案是拉动策略(您的构建服务器在 Linux 上获取信息,而不是尝试从 Windows 中试验所有内容。
如果您遵循 SSH 路径,请注意 technote swg21351507 :
Linux SSH connection hangs when attempting to exit after starting ClearCase.
This can affect the use of scripts to start/stop ClearCase remotely using SSH.
Cause
This is a due to a OpenSSH server design, which will not close the console until all process/jobs executed by the user are completed.
Refer to this SSH FAQ for further details, regarding background jobs.
Resolving the problem
Redirect the ClearCase start script to either
/dev/null
or to a log file.Example:
/usr/atria/etc/clearcase start < /dev/null >& /dev/null
/usr/atria/etc/clearcase start < /tmp/ccstart >& /tmp/ccstart
关于linux - 远程开发 - 在 Windows 上编辑并在 Linux 上构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9274315/