Workbench not persisted under Mac [message #1407727] |
Wed, 13 August 2014 05:55  |
Eclipse User |
|
|
|
Hey guys,
I have a very basic E4 application (3-column layout, empty parts) which
starts under all platforms (Win 7 64, Ubuntu 14.04, Mac OS X) and looks
the same.
However, among some DnD problems I noticed that the workbench is not
persisted under Mac OS X. The org.eclipse.e4.ui.workbench folder is not
created under the .metadata/.plugins directory and so there is no
workbench.xmi file.
In my arguments I have -persistState and this works under Windows and
Ubuntu. I already tried to use a different folder with -data flag which
resulted in an IllegalStateException on startup. I also tried setting
full rights on group level to the .plugins folder (just in case the
application isn't allowed to create a folder there) but this didn't help
either.
I had a look at eclipse Kepler configuration and it seems like
persisting the workbench is working there. The o.e.e4.ui.workbench
folder exists and there is a workbench.xmi file in it which gets updated
on shutdown of eclipse Kepler.
Are there any special settings I need to set on the Mac or in my
application in order to make workbench persistence work or is this a bug?
Thanks in advance
Marina Knieling
|
|
|
|
|
|
|
|
|
Re: Workbench not persisted under Mac [message #1409511 is a reply to message #1408674] |
Mon, 18 August 2014 05:36  |
Eclipse User |
|
|
|
On 15.08.2014 21:02, Brian de Alwis wrote:
> -persistState takes an argument, true or false. That you're not
> providing one means that the behaviour is undefined, and likely false.
Didn't know that. Is this documented somewhere? As -clearPersistedState
doesn't take an argument, I thought it's the same with -persistState.
Thanks for your help, it works now.
|
|
|
Powered by
FUDForum. Page generated in 0.08025 seconds