Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » CDT, RSE and CVS
CDT, RSE and CVS [message #8953] Wed, 16 May 2007 18:28 Go to next message
Eclipse User
Originally posted by: pdistefano.gtech.com

I would like to use RSE and CDT for remote development of an AIX
application written in C. Running Eclipse on Windows, I am able to create
a link to the application's source folder which is visible in the RSE file
system. As I didn't import this folder from a CVS repository, however,
the remote source code is not under CVS control. Is there a way to import
a folder from CVS but configure the workspace to be an RSE linked folder?
If not, is there a way (maybe using user-defined actions) to have CVS
calls be executed when a remote file is read/written.

Thank You.

- Paul
Re: CDT, RSE and CVS [message #9107 is a reply to message #8953] Mon, 21 May 2007 15:43 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 985
Registered: July 2009
Senior Member
Hi Paul,

I do not know how the Eclipse CVS client accesses the file system
for CVS operations (ie does it use EFS or just plain file system
operations). You could try this out by doing Team > Share Project
> CVS into a test repository and see if it works.

If it does not work (which I assume, to be honest), I think the best
thing you can do is have your CVS workspace on the local windows
machine and do all editing there; when it comes to compiling,
copy the files up to the remote AIX machine in order to do the build
there. You can use RSE Import/Export in order to pre-define the file
set to be copied, this can then be easily re-played at any time.
Or, you set up an rsync script with Cygwin on commandline like this:

#!/bin/sh
rsync C:/workspace user@remote:/path/to/workspace -options
ssh remote -l user "cd /path/to/remote; source envScript; make"

Name this script sync_and_build.sh, and in your CDT make project
replace the "make" command with "sync_and_build.sh". See the rsync
manual for options you may want. You can even set up cygwin mount
points (with the cygwin "mount" command) such that the local file
system has the same directory structure as the remote. Then, CDT
Parsers and error navigation for build and even generated makefiles
should work fine for you.

Cheers
Martin

Paul DiStefano wrote:
> I would like to use RSE and CDT for remote development of an AIX
> application written in C. Running Eclipse on Windows, I am able to
> create a link to the application's source folder which is visible in the
> RSE file system. As I didn't import this folder from a CVS repository,
> however, the remote source code is not under CVS control. Is there a
> way to import a folder from CVS but configure the workspace to be an RSE
> linked folder? If not, is there a way (maybe using user-defined
> actions) to have CVS calls be executed when a remote file is read/written.
>
> Thank You.
>
> - Paul
>
Re: CDT, RSE and CVS [message #567592 is a reply to message #8953] Mon, 21 May 2007 15:43 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 985
Registered: July 2009
Senior Member
Hi Paul,

I do not know how the Eclipse CVS client accesses the file system
for CVS operations (ie does it use EFS or just plain file system
operations). You could try this out by doing Team > Share Project
> CVS into a test repository and see if it works.

If it does not work (which I assume, to be honest), I think the best
thing you can do is have your CVS workspace on the local windows
machine and do all editing there; when it comes to compiling,
copy the files up to the remote AIX machine in order to do the build
there. You can use RSE Import/Export in order to pre-define the file
set to be copied, this can then be easily re-played at any time.
Or, you set up an rsync script with Cygwin on commandline like this:

#!/bin/sh
rsync C:/workspace user@remote:/path/to/workspace -options
ssh remote -l user "cd /path/to/remote; source envScript; make"

Name this script sync_and_build.sh, and in your CDT make project
replace the "make" command with "sync_and_build.sh". See the rsync
manual for options you may want. You can even set up cygwin mount
points (with the cygwin "mount" command) such that the local file
system has the same directory structure as the remote. Then, CDT
Parsers and error navigation for build and even generated makefiles
should work fine for you.

Cheers
Martin

Paul DiStefano wrote:
> I would like to use RSE and CDT for remote development of an AIX
> application written in C. Running Eclipse on Windows, I am able to
> create a link to the application's source folder which is visible in the
> RSE file system. As I didn't import this folder from a CVS repository,
> however, the remote source code is not under CVS control. Is there a
> way to import a folder from CVS but configure the workspace to be an RSE
> linked folder? If not, is there a way (maybe using user-defined
> actions) to have CVS calls be executed when a remote file is read/written.
>
> Thank You.
>
> - Paul
>
Previous Topic:Operation Failed. file system input or outpur error
Next Topic:Integrating with RSE, Leveraging RSE api
Goto Forum:
  


Current Time: Thu Oct 30 19:09:10 GMT 2014

Powered by FUDForum. Page generated in 0.02943 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software