Thanks, that's what I have hoped for. Works perfectly. Regards, Markus
On Mon, Jul 25, 2011 at 10:23 AM, Carsten Ziegeler <[email protected]> wrote: > Hi, > > you can use the latest Apache Sling Launchpad Plugin from svn to build > your webapp/app and just add a properties file at > src/main/sling/additional.properties. > All these properties will be added to the sling.properties file inside > your launchpad webapp and app. > > Regards > Carsten > > 2011/7/25 Markus Joschko <[email protected]>: >> Thanks Chetan, that's fine when building a war. >> I am also using the standalone launchpad app which I constantly >> rebuild and where I also want to add that parameter permantently. >> Any idea how to do it there? >> >> >> On Sun, Jul 24, 2011 at 10:10 AM, chetan mehrotra >> <[email protected]> wrote: >>> You can specify the bootdelegation package via servlet init param in web.xml >>> of the sling webapp >>> >>> <servlet> >>> <display-name>Sling Servlet</display-name> >>> <servlet-name>sling</servlet-name> >>> >>> <servlet-class>org.apache.sling.launchpad.webapp.SlingServlet</servlet-class> >>> ... >>> >>> <!-- Custom bootdelegation to allow resolution of XPath, Xerces and >>> Xalan --> >>> <init-param> >>> <param-name>sling.bootdelegation.com.sun.org.apache</param-name> >>> <param-value>com.sun.org.apache.*</param-value> >>> </init-param> >>> >>> <load-on-startup>100</load-on-startup> >>> </servlet> >>> >>> Chetan Mehrotra >>> >>> >>> On Fri, Jul 22, 2011 at 9:19 PM, Markus Joschko >>> <[email protected]>wrote: >>> >>>> 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 >>>> >>> >>>> >> >>>> > >>>> >>> >> > > > > -- > Carsten Ziegeler > [email protected] >
