|
|
Re: Workbench saved state location [message #436236 is a reply to message #435849] |
Fri, 02 September 2005 13:33 |
Neil Bartlett Messages: 93 Registered: July 2009 |
Member |
|
|
Pascal,
Thanks for this, but I don't really follow you. How does the getLocation()
method of Platform allow me to SET the instance location?
Also the difference between instance location and configuration location
is not clear to me. Which of these is used to store the workbench state,
ie the last-open perspective and view arrangement?
Thanks,
Neil.
Pascal Rapicault wrote:
> You can't do that for the configuration location, however you can
> programmaticaly set the osgi.instance.area in your workbench advisor by
> using the Platform.getLocation() API.
> Note that to make sure that a default value is not picked for you, set
> osgi.instance.area to "@noDefault" in the jnlp file.
> Neil Bartlett wrote:
>> Hi,
>>
>> I have an RCP application deployed with Java Web Start, and I would like
>> the saved workbench state to follow users around when they move to other
>> machines.
>>
>> Using the JNLP file I have set the osgi.instance.area and
>> osgi.configuration.area variables to point at @user.home, but
>> unfortunately that ends up pointing at C:Documents and
>> Settingsusername. I would like to use a location on the user's "home"
>> network drive, but for some users that is H: and for some users it is O:.
>>
>> Is there anything I can do to compute the value for the saved state
>> location before it is required by the workbench?
>>
>> Thanks,
>> Neil
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03315 seconds