2
votes

I am looking for a solution for a remote development environment as follows: Editor - Windows Source Insight / Visual Studio Source control - Clearcase Build server - Linux The above can't be modified.

In my current setup, I can view and edit the sources on Windows using a Windows Cleacase client. My problem is mainly the build (and the later on, the debug) process. I need to invoke 'make' from Windows on a specific Clearcase view on the Linux Server. I can login in a separate process using SSH to the Linux server and run 'make', but it is a cumbersome procedure. I am also unable to view the 'make' results and double-lick them to go to the specific warning/errors.

Is there any way to remotely bind a Windows command/batch to a Linux environment? Perhaps through SSH? Thank you for any suggestion you might have.

3

3 Answers

2
votes

The usual solution is rather a pull strategy (where your build server fetches information on Linux, rather than trying to pilot everything from Windows.

If you follow the SSH path, be aware of 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
0
votes

Try sshfs. I don't if there is a sshfs client for windows. If not, you can try NFS, or even SAMBA. Those definately work in Windows and Linux.

0
votes

I just came across this and wanted to answer, even if the original poster has surely resolved their issue. This could be quite easily resolved by installing a jenkins instance on the build machine. You could kick off the build from the web interface and have it pull the files from clearcase and tell you the results.