Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cached workspace contents across sessions?
Cached workspace contents across sessions? [message #269806] Sun, 29 March 2009 11:09 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 676
Registered: July 2009
Senior Member
Hi, while debuggin a plugin, I noticed that my runtime workspace is out
of sync, so I refreshed it. After simply terminating the runtime
workbench and restarting it, the resources view again showed the
out-of-date representation

Are workspace contents cached somewhere? I'd be interested in how the
persisted data looks like.

Felix
Re: Cached workspace contents across sessions? [message #269808 is a reply to message #269806] Sun, 29 March 2009 11:28 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33204
Registered: July 2009
Senior Member
Felix,

When you say "terminating" do you mean you closed it down the the normal
way, at which point it will save state information, such as the expected
time stamps of files (but not a cache of their contents) open editors,
and so on, or do you mean you hit the red button to kill it, in which
case you've interrupted the normal termination behavior?


Felix Dorner wrote:
> Hi, while debuggin a plugin, I noticed that my runtime workspace is
> out of sync, so I refreshed it. After simply terminating the runtime
> workbench and restarting it, the resources view again showed the
> out-of-date representation
>
> Are workspace contents cached somewhere? I'd be interested in how the
> persisted data looks like.
>
> Felix


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Cached workspace contents across sessions? [message #269810 is a reply to message #269808] Sun, 29 March 2009 11:54 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 676
Registered: July 2009
Senior Member
Ed Merks wrote:
> Felix,
>
> When you say "terminating" do you mean you closed it down the the normal
> way, at which point it will save state information, such as the expected
> time stamps of files (but not a cache of their contents) open editors,
> and so on, or do you mean you hit the red button to kill it, in which
> case you've interrupted the normal termination behavior?

I hit the big red button to kill it. In my interpretation this would
prevent the normal behaviour to serialize a cached version of the
workspace contents and explain my observation..

With workspace contents, I don't mean 'file contents'. Only the
structure of the workspace, files, folders..

Felix
Re: Cached workspace contents across sessions? [message #269812 is a reply to message #269810] Sun, 29 March 2009 12:31 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33204
Registered: July 2009
Senior Member
Felix,

That's what I thought. I'm not really sure exactly where this is all
stored, but it's off deep in the
<workspace>/.metadata/.plugins/org.eclipse.core.resources stuff in some
inscrutable format...


Felix Dorner wrote:
> Ed Merks wrote:
>> Felix,
>>
>> When you say "terminating" do you mean you closed it down the the
>> normal way, at which point it will save state information, such as
>> the expected time stamps of files (but not a cache of their contents)
>> open editors, and so on, or do you mean you hit the red button to
>> kill it, in which case you've interrupted the normal termination
>> behavior?
>
> I hit the big red button to kill it. In my interpretation this would
> prevent the normal behaviour to serialize a cached version of the
> workspace contents and explain my observation..
>
> With workspace contents, I don't mean 'file contents'. Only the
> structure of the workspace, files, folders..
>
> Felix


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Calling a wizard by a different technique
Next Topic:Question regarding Eclipse preferences
Goto Forum:
  


Current Time: Thu Aug 29 23:41:21 GMT 2024

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

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

Back to the top