If I enter the osgi.configuration.area.readOnly=true
in the config.ini I get a NoClassDefFoundError from one of our imported libs when I start my Eclipse RCP.
Based on this question I understand it is due to our nested jars that need the configuration area to unpack in. But isn't there a way to make sure this takes place in our osgi.instance.area
or some other place?
Yes, I could make sure to un-nest the nested jars, but that feels like a workaround that could fail next time we add a new lib dependency.
The config.ini file:
eclipse.application=(myApp)
osgi.bundles.defaultStartLevel=4
eclipse.product=(myProd)
osgi.splashPath=platform:/base/plugins/(rcp)
osgi.bundles=(cut list)
osgi.instance.area=@user.home/.myApp
osgi.locking=none
osgi.configuration.area.readOnly=true