RCPTT Support of Shared Configuration Area [message #1795603] |
Wed, 26 September 2018 07:01 |
Markus Modzelewski Messages: 5 Registered: September 2018 |
Junior Member |
|
|
Hi there,
we are developing a product where one part of the product must be placed into a read only directory (e.g. C:\Program Files\...) so we can not change anything there as a normal user. Now in addition an Update Site should also be possible. This was handled by using a shared configuration area in a directory the user can change things, for more information about this see Scenario 3 of http://help.eclipse.org/kepler/index.jsp?topic=%252Forg.eclipse.platform.doc.isv%252Freference%252Fmisc%252Fmulti_user_installs.html&cp=2_1_3_7
Now we want to test this using rcptt but it fails, ignoring all plugins and configuration from the user directory.
In rcp Configuration the osgi.configuration.area=@user.home/testRCP/configuration and eclipse.p2.data.area=@config.dir/../p2.
In user.home/testRCP/configuration/config.ini is osgi.sharedConfiguration.area=file\:configuration/
Now the main problem, we have 2 different Applications, one UpdateApplication downloads and creates the user.home/testRCP Folder including configuration etc. into the configuration area (i think that is set to a different value by rcptt). After the update it restarts and tries to use a different Application (configuration has changed). Hereby the Application (yes the name is "Application") can not be found by rcptt in the restart.
May it be that rcptt itself is ignoring the osgi.configuration.area completly? If so, can we somehow make it to know the shared configuration?
Best regards, Markus
|
|
|
Powered by
FUDForum. Page generated in 0.03152 seconds