On Fri, Jul 22, 2011 at 5:41 PM, Justin Edelson <[email protected]> wrote: > That's correct. boot delegation is something defined at the time the > OSGi framework starts and is then fixed for the lifetime of that > framework instance. You can change the contents of sling.properties at > any time, but it requires a restart to take effect.
OK, no big deal as that is hopefully not happening that often. But in addition I would like to add this to the sling.properties which is backed into the launchpad so I have it already available when setting up a new environment. What's the best way to extend the "default" sling.properties? I added a sling.properties file to my launchpad project and that completely replaces the default sling.properties. Do I have to add the default entries by hand or is there another way so only my one entry is added to the default sling.properties? Thanks, Markus > > On Fri, Jul 22, 2011 at 11:24 AM, Markus Joschko > <[email protected]> wrote: >> OK, so there is no way to "contribute" that information from the >> bundle that requires the information? >> Just to make sure I do not miss something: sling.properties I either >> configure in the launchpad or by hand after the initial installation? >> >> >> On Fri, Jul 22, 2011 at 5:19 PM, Justin Edelson >> <[email protected]> wrote: >>> Also sling.properties >>> >>> On Jul 22, 2011, at 11:17 AM, Markus Joschko <[email protected]> >>> wrote: >>> >>>> Hi, >>>> I need to make the class com.sun.xml.internal.ws.api.message.Header >>>> available to a bundle. >>>> I can get this done by adding the package to the >>>> org.osgi.framework.bootdelegation in sling.properties >>>> >>>> After having read http://sling.apache.org/site/configuration.html I >>>> would rather set a sling.bootdelegation property. >>>> But where do I add this property? Can I set it from the bundle? >>>> >>>> Must be something very obvious, but I miss it somehow. >>>> >>>> Thanks, >>>> Markus >>> >> >
