Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » RSE+ sync + cvs
RSE+ sync + cvs [message #647006] Mon, 03 January 2011 23:41 Go to next message
Clifford Meece is currently offline Clifford MeeceFriend
Messages: 4
Registered: January 2011
Junior Member
Hi,
I have been using eclipse (php eclipse - helios) with a cvs repository. I check my files out and edit them in my local worskspace and can commit them back and all is well, as far as it goes.

Our dev server is a remote Unix server where all the developers have a sandbox.

So the workflow is a bit clunky, because as you edit files in your local cvs checkout, you have to have a separate winscp window open and after every edit you have to use winscp to copy the file over to the Unix dev server to test the changes (this is mostly Drupal development)

My first attempt to streamline this was to install RSE, as I figured it would be easier to just edit the files on the dev server directly, using RSE to transparently to browse, edit, save, and upload.

I was not able to figure out how to use eclipse's CVS functions on top of this, but I was ok with keeping a command shell open to the remote Unix server to run cvs commands from the command prompt. This is actually a workflow I've used successfully in the past.

The problem is that for the most part I _do_ want CVS HEAD in my workspace so I can keep most files up to date with other developers, but i _do not_ want my sandbox updated to CVS HEAD. I want it to be a tagged version matching production, save for the few files I'm working on. So that's where I'm stuck.

In that case, is it possible to use the team features to check out a local workspace and do my editing here locally, and use rse to (somehow) easily sync it over to the remote server instance I set up in RSE?

It would be great if there was a 'sync file' in the right-click-context menu somewhere for each file. That way, I can edit local, save local, right click to 'send to server', or whatever, and then when I'm happy, right click and commit the changes.

Any ideas or alternative workflow suggestions would be much appreciated.


Thanks in advance,
Cliff
Re: RSE+ sync + cvs [message #647093 is a reply to message #647006] Tue, 04 January 2011 15:01 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 2371
Registered: July 2009
Senior Member
On 1/3/11 6:41 PM, Clifford Meece wrote:
> Hi,
> I have been using eclipse (php eclipse - helios) with a cvs repository.
> I check my files out and edit them in my local worskspace and can commit
> them back and all is well, as far as it goes.
>
> Our dev server is a remote Unix server where all the developers have a
> sandbox.
>
> So the workflow is a bit clunky, because as you edit files in your local
> cvs checkout, you have to have a separate winscp window open and after
> every edit you have to use winscp to copy the file over to the Unix dev
> server to test the changes (this is mostly Drupal development)
>
> My first attempt to streamline this was to install RSE, as I figured it
> would be easier to just edit the files on the dev server directly, using
> RSE to transparently to browse, edit, save, and upload.
>
> I was not able to figure out how to use eclipse's CVS functions on top
> of this, but I was ok with keeping a command shell open to the remote
> Unix server to run cvs commands from the command prompt. This is
> actually a workflow I've used successfully in the past.
>
> The problem is that for the most part I _do_ want CVS HEAD in my
> workspace so I can keep most files up to date with other developers, but
> i _do not_ want my sandbox updated to CVS HEAD. I want it to be a tagged
> version matching production, save for the few files I'm working on. So
> that's where I'm stuck.
>
> In that case, is it possible to use the team features to check out a
> local workspace and do my editing here locally, and use rse to (somehow)
> easily sync it over to the remote server instance I set up in RSE?
>
> It would be great if there was a 'sync file' in the right-click-context
> menu somewhere for each file. That way, I can edit local, save local,
> right click to 'send to server', or whatever, and then when I'm happy,
> right click and commit the changes.
>
> Any ideas or alternative workflow suggestions would be much appreciated.

The key problem is that you want to have two different baselines on your
machine and the dev server; if you were to keep the two in sync I think
RSE would meet your needs just fine.
I'd go so far as to suggest that having different baselines is actually
a big potential problem; you'll be editing the HEAD of some files and
uploading them into a set of files that are taken from a different
baseline, so the likelihood of incompatibilities seems high. Maybe in
the PHP world (Drupal is written in PHP, right?) that isn't quite as
likely as in Java, but it's still not a situation I'd want to live with
for very long.
The only advice I have to make that work is to try to use RSE as a
convenient scp client rather than using it to edit files directly on the
dev server. I'm pretty sure it has that kind of client functionality,
but you can always ask on the DSDP Target Management forum group (RSE
falls under the DSDP Target Management project).

Eric
Previous Topic:indexer not working
Next Topic:GWT plugin not working in helios 3.6
Goto Forum:
  


Current Time: Sat Nov 29 03:01:47 GMT 2014

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

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