Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » How to know when file is out of sync
How to know when file is out of sync [message #25942] Tue, 12 August 2008 18:41 Go to next message
Denise Schmidt is currently offline Denise SchmidtFriend
Messages: 66
Registered: July 2009
Member
OK, I have the following scenario. I use RSE to edit a remote file.
While I'm editting, I lose my connection. I save the file which gives me
an error because it couldn't save remotely but it does save the changes
locally. Now I reconnect to the remote system. Is there any way to know
that my local version of the file is not in sync with the remote version
of the file? The file doesn't look like it has pending changes because it
saved locally. If I edit it again and try to save, it will tell me but
otherwise I don't see a way to say "hey RSE, check to see if the files I
have open are in sync with the corresponding files on the remote system
and if not, prompt me to sync each up".

I guess I'm considering a failure case where I'm happily editing, lose my
connection and can't get it back so I save the files locally in the
RemoteSystemsTempFiles to deal with later. Then when I finally get my
connection back, it would be good if there was an easy way to know that
the stuff in RemoteSystemsTempFiles is out of sync with the remote system.
Is there a way to do this without having to save each file that may have
been open?

Thanks!
Re: How to know when file is out of sync [message #25983 is a reply to message #25942] Mon, 18 August 2008 10:27 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
This is a very good use-case, and we should handle it better as part of
our "usability" Theme in 3.1.

I think we have had similar requests before, and if I'm not mistaken
https://bugs.eclipse.org/bugs/show_bug.cgi?id=143503 was addressed as
part of these requests. Please check if that helps you.

If not, please file an enhancement request in bugzilla, with [usability]
tag in the Summary, explaining your case.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Denise wrote:
> OK, I have the following scenario. I use RSE to edit a remote file.
> While I'm editting, I lose my connection. I save the file which gives
> me an error because it couldn't save remotely but it does save the
> changes locally. Now I reconnect to the remote system. Is there any
> way to know that my local version of the file is not in sync with the
> remote version of the file? The file doesn't look like it has pending
> changes because it saved locally. If I edit it again and try to save,
> it will tell me but otherwise I don't see a way to say "hey RSE, check
> to see if the files I have open are in sync with the corresponding files
> on the remote system and if not, prompt me to sync each up".
>
> I guess I'm considering a failure case where I'm happily editing, lose
> my connection and can't get it back so I save the files locally in the
> RemoteSystemsTempFiles to deal with later. Then when I finally get my
> connection back, it would be good if there was an easy way to know that
> the stuff in RemoteSystemsTempFiles is out of sync with the remote
> system. Is there a way to do this without having to save each file that
> may have been open?
>
> Thanks!
>
Re: How to know when file is out of sync [message #26229 is a reply to message #25983] Tue, 26 August 2008 14:31 Go to previous message
Denise Schmidt is currently offline Denise SchmidtFriend
Messages: 66
Registered: July 2009
Member
I filed an enhancement request
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245256 because I think it
would be nice to expand the Synchronize Cache function to be able to
synchronize multiple folders at once.

Thanks!
Re: How to know when file is out of sync [message #576657 is a reply to message #25942] Mon, 18 August 2008 10:27 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
This is a very good use-case, and we should handle it better as part of
our "usability" Theme in 3.1.

I think we have had similar requests before, and if I'm not mistaken
https://bugs.eclipse.org/bugs/show_bug.cgi?id=143503 was addressed as
part of these requests. Please check if that helps you.

If not, please file an enhancement request in bugzilla, with [usability]
tag in the Summary, explaining your case.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Denise wrote:
> OK, I have the following scenario. I use RSE to edit a remote file.
> While I'm editting, I lose my connection. I save the file which gives
> me an error because it couldn't save remotely but it does save the
> changes locally. Now I reconnect to the remote system. Is there any
> way to know that my local version of the file is not in sync with the
> remote version of the file? The file doesn't look like it has pending
> changes because it saved locally. If I edit it again and try to save,
> it will tell me but otherwise I don't see a way to say "hey RSE, check
> to see if the files I have open are in sync with the corresponding files
> on the remote system and if not, prompt me to sync each up".
>
> I guess I'm considering a failure case where I'm happily editing, lose
> my connection and can't get it back so I save the files locally in the
> RemoteSystemsTempFiles to deal with later. Then when I finally get my
> connection back, it would be good if there was an easy way to know that
> the stuff in RemoteSystemsTempFiles is out of sync with the remote
> system. Is there a way to do this without having to save each file that
> may have been open?
>
> Thanks!
>
Re: How to know when file is out of sync [message #576815 is a reply to message #25983] Tue, 26 August 2008 14:31 Go to previous message
Denise Schmidt is currently offline Denise SchmidtFriend
Messages: 66
Registered: July 2009
Member
I filed an enhancement request
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245256 because I think it
would be nice to expand the Synchronize Cache function to be able to
synchronize multiple folders at once.

Thanks!
Previous Topic:RSE remote shell functions
Next Topic:RSE server packaging
Goto Forum:
  


Current Time: Fri Apr 19 06:11:38 GMT 2024

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

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

Back to the top