Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346407 - Impossible to configure SettingsStoreFactory implementation through config.ini
Summary: Impossible to configure SettingsStoreFactory implementation through config.ini
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 05:37 EDT by Arnaud MERGEY CLA
Modified: 2011-05-19 15:36 EDT (History)
0 users

See Also:


Attachments
Patch allowing to read org.eclipse.rwt.settingStoreFactory in config.ini as well (1.65 KB, patch)
2011-05-19 05:43 EDT, Arnaud MERGEY CLA
ruediger.herrmann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud MERGEY CLA 2011-05-19 05:37:45 EDT
I am using RAP 1.4 RC1

According to documentation, it should be possible to define org.eclipse.rwt.settingStoreFactory=id property in config.ini. 

But the only way to have it working, is by setting a java System property (-Dorg.eclipse.rwt.settingStoreFactory=id).

This property should be configurable also through config.ini as well, I will attached a proposed patch
Comment 1 Arnaud MERGEY CLA 2011-05-19 05:43:11 EDT
Created attachment 196090 [details]
Patch allowing to read org.eclipse.rwt.settingStoreFactory in config.ini as well
Comment 2 Rüdiger Herrmann CLA 2011-05-19 06:20:40 EDT
Applied patch with minor changes to CVS HEAD
Comment 3 Ralf Sternberg CLA 2011-05-19 15:36:36 EDT
Note that there seems to be an issue with system properties not copied to the bundle context: bug 319679.
Please reopen if this causes problems for RAP too.