Skip to main content



      Home
Home » Newcomers » Newcomers » Cached workspace contents across sessions?
Cached workspace contents across sessions? [message #269806] Sun, 29 March 2009 07:09 Go to next message
Eclipse UserFriend
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 07:28 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Cached workspace contents across sessions? [message #269810 is a reply to message #269808] Sun, 29 March 2009 07:54 Go to previous messageGo to next message
Eclipse UserFriend
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 08:31 Go to previous message
Eclipse UserFriend
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
Previous Topic:Calling a wizard by a different technique
Next Topic:Question regarding Eclipse preferences
Goto Forum:
  


Current Time: Sun May 04 02:26:46 EDT 2025

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

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

Back to the top