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 Schmidt
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 Oberhuber
Messages: 983
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 Schmidt
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 Oberhuber
Messages: 983
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 Schmidt
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:.htaccess
Next Topic:Multiple prompts for user ID/password
Goto Forum:
  


Current Time: Tue Sep 23 14:28:54 GMT 2014

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

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