Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Workspace resources on samba share and time synchronization
Workspace resources on samba share and time synchronization [message #655740] Tue, 22 February 2011 14:35 Go to next message
Florian Philipp is currently offline Florian PhilippFriend
Messages: 43
Registered: February 2010
Member
Hello!

I maintain an Eclipse based application which makes heavy use of files which are linked into the workspace from a Samba (CIFS) share. Using local workspaces with a VCS is no option.

Most of the time, everything works fine. However, I have problems when the clocks between server and client and not completely synchronized. Mostly the user will see message boxes about changed resources which are just annoying. Once, I also had a freak data loss but I'm not entirely sure it is related to this.

Anyway, while I know the problem, there is not much I can do against this. Of course I can sync client and server against the same NTP server (which I do) but the Windows XP NTP client does not guarantee precision of more than one or two seconds. That's in my experience not enough to prevent this issue.

My question is: Are there other options for me? Can I reduce the precision with which Eclipse checks the timestamps? If that is not possible, are there other options for accessing a remote file share than mounting it through the OS and then linking it into workspace?

Thanks in advance!
Florian Philipp
Re: Workspace resources on samba share and time synchronization [message #655764 is a reply to message #655740] Tue, 22 February 2011 15:03 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

The only other option that I'm aware of is related to Target
Manager/Remote System Explorer.

See http://www.eclipse.org/tm/ and
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .rse.doc.user/tasks/tusingefs.html

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Workspace resources on samba share and time synchronization [message #655765 is a reply to message #655764] Tue, 22 February 2011 15:16 Go to previous messageGo to next message
Florian Philipp is currently offline Florian PhilippFriend
Messages: 43
Registered: February 2010
Member
Paul Webster wrote on Tue, 22 February 2011 10:03
The only other option that I'm aware of is related to Target
Manager/Remote System Explorer.




Yes, I've seen this an instant after posting but thanks anyway. Smile

However, I'm not entirely convinced that this solves the problem. How does TM / RSE handle timestamps? Do you have any experience in it or should I ask on their mailing list?

Even if it works, it would be a major overhaul for my application so if someone knows an easier way around it, please tell me.

Regards,
Florian Philipp
Re: Workspace resources on samba share and time synchronization [message #655778 is a reply to message #655765] Tue, 22 February 2011 15:26 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 02/22/2011 10:17 AM, Florian Philipp wrote:
> However, I'm not entirely convinced that this solves the problem. How
> does TM / RSE handle timestamps? Do you have any experience in it or
> should I ask on their mailing list?

You're right, it's probably a good idea to ask on their forum/newsgroup.
If their EFS implementation doesn't work, RSE might help by syncing
files to a local workspace and allow pushing back to the share (for use
when an SCM is not involved).

>
> Even if it works, it would be a major overhaul for my application so if
> someone knows an easier way around it, please tell me.

AFAIK the solution to the timestamp problem is to not work on a share.
But I'd be interested as well if there's a common workaround other than
that.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:problem accessing CVS repository on solaris 10 from eclipse client
Next Topic:Indigo M5: Buggy jars MANIFEST.MF?
Goto Forum:
  


Current Time: Mon Jan 18 02:03:02 GMT 2021

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

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

Back to the top