Cached workspace contents across sessions? [message #269806] |
Sun, 29 March 2009 07:09  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.08681 seconds