[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: life cycle of RCP app?

Hi,

I did not catch all your explanations and what you are trying to do. For my RCP application I use a parameter saved in the .ini file that set where all the preferences will be stored.

osgi.instance.area=@xxxxxxxxx/.yourRCPApp

http://help.eclipse.org/stable/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html

When you run/debug your app within eclipse, this parameter is controlled from run/debug configuration dialog where you can specify where the workspace data is stored in

Run Configuration->Main->Workspace Data->Location

I prefer to set the instance area by a configuration file, instead of initWorkspace() this avoid hard setting in code.

Hope this helps.

Laurent Marchal.

Gilbert Mirenque a Ãcrit :
What can I do?