I have a multiple user/location RCP application that currently utilizes several user configurable options. Some preferences are for specific to the station, some are specific to the user.
The options are from a preference store which saves the *.prefs files to "workspace.metadata.plugins\org.eclipse.core.runtime.settings".
This would be fine if we were only using a single machine/user. But if a user were to go to another station, then the user would be using whatever preferences were setup for that station.
Is it possible to specify another form for persistence (not files)?
According the the eclipse wiki, the preferences are file-based, and stored:
<eclipse_home>/eclipse/configuration/.settings/
..prefs
extension.<workspace>/.metadata/.plugin/org.eclipse.core.runtime/.settings
..prefs
extension..settings
sub-directory of your project folder So if the file option is here to stay, you may need to:
HKEY_CURRENT_USER/Software/MyRCP/...
) at the exit of the application, and .prefs
files in the local workspace.metadata.plugins\org.eclipse.core.runtime.settings
directoryIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With