[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Eclipse Runtime Application .metadata cache problem

When an RCP app runs, it takes the previously saved state of a perspective. So if you have done any changes in your IPerspectiveFactory.createInitialLayout(), it won't get reflected. Either you clear your workspace of your RCP app everytime (either manually or thru the setting in the launch configuration) or do a Reset of your perspective, so that the method is called again

--

 - Prakash

www.eclipse-tips.com


Prasad Chand wrote:
Hi All,


I have created a new perspective and added some views and other stuff. I began noticing that whenever I launch the runtime application, my changes were not getting properly reflected. After some googling I came to know that the problem is in inconsistent cache state stored in ..metadata folder.


Now I am clearing the cache before launching. It works fine now but I would like to know whether I can get eclipse to pick the right state without having worry about clearing the cache.

I noticed that the problem started occurring only when I started working on perspectives.Any help would be great.


Thanks, Prasad