|
Re: Cached workspace contents across sessions? [message #269808 is a reply to message #269806] |
Sun, 29 March 2009 11:28 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) 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 message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Felix Dorner![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=felix_do%40web.de) 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 Go to previous message](theme/Solstice/images/up.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) 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/
|
|
|
Powered by
FUDForum. Page generated in 0.07459 seconds